Prevent form from being submitted twice

TML

New Member
I have a simple php form, like this:\[code\]<?phpif(isset($_POST['myform'])) // email...else // display form\[/code\]the problem is that if I refresh the page after I submit the form, it gets submitted twice.How can I prevent this from happening?
 
Back
Top