Hello,
I have a form that submits via POST, which works fine (inserting into a DB). If the user hits Refresh on the page, I would like to not have the data insert a duplicate record. How can I clear the $_POST variables?
unset($_POST) does not work, and I'd rather not have to redirect them to another page just to do this.
Any help is appreciated.
Thanks
I have a form that submits via POST, which works fine (inserting into a DB). If the user hits Refresh on the page, I would like to not have the data insert a duplicate record. How can I clear the $_POST variables?
unset($_POST) does not work, and I'd rather not have to redirect them to another page just to do this.
Any help is appreciated.
Thanks