note 85427 deleted from function.mysql-insert-id by danbrown
| From: | danbrown@php.net | Date: | Wed, 14 Jan 2009 22:08:37 +0000 |
| Subject: | note 85427 deleted from function.mysql-insert-id by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149202@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
"Don't calculate the next id, just leave the field blank and let the database issue the id
itself."
Perhaps you need the last given ID after INSERT... so do i. anyway requesting the last given ID
does not calculate the next ID, it reports the ID from the DBSystem which is 100% safe and 100%
correct.