Re: duplicate entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: php-windows@xxxxxxxxxxxxx
Sent: Thursday, April 5, 2007 7:15:36 PM
Subject:  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.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux