I have a simple form which just posts back to itself. I want to unset the POST array so that if you refresh the page the form doesn't get resubmitted. I do a test at the beginning of the script like:
if(isset($_POST['name']))
but then when I call unset($_POST['name']) nothing really happens, becuase if I refresh I still get a dupe. Any ideas?
if(isset($_POST['name']))
but then when I call unset($_POST['name']) nothing really happens, becuase if I refresh I still get a dupe. Any ideas?