0
I have a form that his action sends to a.php file that makes an Insert in the database with the information passed by the form, and I’ve noticed that if I double click very quickly on the Ubmit button it sends two identical records to the database, someone knows how to do a waiting system for example if I send a record now at 00:41:27 I will only be able to send another at 00:41:29 a 2 second timer, or when clicking the Submit button once it blocks so it does not send twice the same record.
Take a look at: How to treat the submission of a form to be executed only once?
– rray