I have built a form with the action:
<?php $_SERVER['PHP_SELF'] ?>
I have the content of that form being sent to a DB and the rows from the DB refreshing on the page on each insert using:
only problem i have is that if the user refreshes the page, the $_POST variables are still there and will be inserted into the DB as a duplicate. What can I do to prevent this?