Re: duplicate entry
| From: | Jarrett Meyer | Date: | Fri, 06 Apr 2007 01:09:17 +0000 |
| Subject: | Re: duplicate entry | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-27634@lists.php.net to get a copy of this message | ||
Create a 'key' in the submission, something like...
<input type="hidden" name="form_start" value="<?=date();?>"
/>
Check that "form_start" does not already exist in the database, or, even better that
form_generation and form_user carries a unique key. Then check for a SQL collision. That would be
superior to a select and an insert.
Using linked relations and keys is your friend, as long as you have a database that supports these
utilities.
Thank you,
Jarrett Meyer
http://jarrettmeyer.blogspot.com
No trees were harmed during this transmission; however, several electrons were terribly
inconvenienced.
----- Original Message ----
From: sam rumaizan <samcalc@yahoo.com>
To: php-windows@lists.php.net
Sent: Thursday, April 5, 2007 7:15:36 PM
Subject: [PHP-WIN] duplicate entry
How do I disable Refresh and Back button. to Prevent duplicate entry
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.