Hi,
I just made a PHP script which add some stuff to a database, but when Its done and I hit the reload button on the browser, the same stuff is once again added to the DB, causing it to store the same variables twice?
Anything which can be dont to avoid that the script on refresh submits once again?
I've tried to change my $POST variables and to set up an if-statement which check to see if a variable is 0 or 1, and if 1 = add stuff to db (and change the current $POST var to 0) else do nothing. But still on reload is adds stuff to my DB?
Cheers,
Mads 😃