note 104948 deleted from function.mysql-insert-id by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 Jul 2011 14:03:15 +0000 |
| Subject: | note 104948 deleted from function.mysql-insert-id by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181647@lists.php.net to get a copy of this message | ||
Note Submitter: bob at bobkruithof dot com
----
@JESSE
Between the time of adding your row to the database, and fetching the id with your method, more data
could be added to the database. This will result in you receiving the wrong id.