I was wondering what methods/preventions other programmers use to stop data being entered twice into a MySQL database when a user refreshes on the same page as a form? Obvio
My two cents:
if(isset($_POST['submit'])
Other useful information for similar cases:
Give a look to LOCK TABLES in MySQL
Disable buttons via JavaScript after the first click