transaction locking
| From: | Aleks Kalynovych | Date: | Fri, 05 Dec 2003 13:11:25 +0000 |
| Subject: | transaction locking | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31909@lists.php.net to get a copy of this message | ||
Good morning all,
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
TIA for your help
Aleks