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
Post a Comment