Problems with $_POST

From: Date: Wed, 21 Jan 2004 08:08:18 +0000
Subject: Problems with $_POST
Groups: php.general 
Request: Send a blank email to php-general+get-175275@lists.php.net to get a copy of this message
I have a FORM for entering data into a DB. I use: ... ... if ($_POST['submit'] == 'Register') { ... code for INSERT into DB. This works OK, but if I REFRESH the page, it duplicates the "dataset" in the table. How can I reset $_POST['submit'] so it don't make this happen? Rgds Reidar Solberg

« previous php.general (#175275) next »