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: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals â www.phparch.com
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php