RE: [PHP] Dealing with auto-increment in MySQL
| From: | Jay Blanchard | Date: | Tue, 04 Sep 2007 10:53:13 +0000 |
| Subject: | RE: [PHP] Dealing with auto-increment in MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261677@lists.php.net to get a copy of this message | ||
[snip]
Do you use logic in your code to find a missing ID and insert new
records
based on that? Or do you just ignore it, let mysql handle the numbering
and
go on with your lives?
[/snip]
The answer is B. There is a long standing discussion on this right now.