note 94511 deleted from function.mysql-insert-id by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 11:18:17 +0000 |
| Subject: | note 94511 deleted from function.mysql-insert-id by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197096@lists.php.net to get a copy of this message | ||
Note Submitter: mmurphy at cpmsnational dot com
----
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)