note 94511 added to function.mysql-insert-id
| From: | mmurphy at cpmsnational dot com | Date: | Mon, 09 Nov 2009 19:18:32 +0000 |
| Subject: | note 94511 added to function.mysql-insert-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162675@lists.php.net to get a copy of this message | ||
If mysql_insert_id() returns 0 or null, check that you have also included the link identifier. It is
optional but if you have more than one database connection then this is necessary.
ex: mysql_insert_id($conn)
----
Server IP: 69.147.83.197
Probable Submitter: 24.85.64.52
----
Manual Page -- http://www.php.net/manual/en/function.mysql-insert-id.php
Edit -- https://master.php.net/note/edit/94511
Del: integrated -- https://master.php.net/note/delete/94511/integrated
Del: useless -- https://master.php.net/note/delete/94511/useless
Del: bad code -- https://master.php.net/note/delete/94511/bad+code
Del: spam -- https://master.php.net/note/delete/94511/spam
Del: non-english -- https://master.php.net/note/delete/94511/non-english
Del: in docs -- https://master.php.net/note/delete/94511/in+docs
Del: other reasons-- https://master.php.net/note/delete/94511
Reject -- https://master.php.net/note/reject/94511
Search -- https://master.php.net/manage/user-notes.php