I have a system, survey form that I have developed. my problem is how do I Insert or assign the serial key value to the survey table in the database?
I have to two tables one to store the survey answers and the other table that stores the serial keys. After the user fills in the survey/questionnaire, how can I then assign a serial key to each completed survey(in the database), and then display to the user the assigned serial key.
Also How can I make sure that Once a specific serial key is assigned, it won't be assigned again.
I am using php and Jquery mobile and mysql to develope the system
I really need help.