php - How to create unique registration number -


i trying unique admission number every student. counting number of rows in database , displaying value in student admission number. if enter student details , after submission saved in database , when delete , if again want enter new student details taking same register number deleted .i want unique registration numbers. please me unique numbers should not repeated.

you can use feature of auto_increment property of mysql if have numeric registration number field.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -