Help with forms
I would like a user to submit a form once and if he/she wants to submit the same form with same information it should
tell the user that can not submit twice.
The form and action page are both in php. Data is being submitted to mysql database.
You can try checking the database for similar records before inserting the data. IF the such records exist then simple redirect the user to the the form and tell him to enter new sets of information.
This can also solve the problem of user refreshing the page where actual database entry takes place.
Bookmarks