I have a simple php form, like this:
<?php
if(isset($_POST['myform']))
// email...
else
// display form
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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…