Aleks Kalynovych wrote:
I have a couple forms that generate a unique ID based on taking the highest
number in the ID column adding 1 to its value. The problem is that I donât
save that number until the form is submitted. If 2 or more persons fill out
the form at the same time they all get the same
ID number.  I hope that there are some suggestions on how to accomplish this
with a better method

What database are you using? Pretty much all of them have a method for generating these numbers internally. Consult your documentation.

---John Holmes...

Amazon Wishlist:

php|architect: The Magazine for PHP Professionals â

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to