note 47356 added to function.mysql-insert-id
| From: | phon at ph0n | Date: | Fri, 12 Nov 2004 20:56:07 +0000 |
| Subject: | note 47356 added to function.mysql-insert-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80449@lists.php.net to get a copy of this message | ||
In reply to sasadotau, it is more helpful if you actually test your code before submitting it here.
Your snippet is incorrect; the resource identifier for mysql_insert_id() is a connection identifier,
NOT a query result. In the future, please try to know what you're talking about before spouting
off nonsense in an authorative way.
----
Manual Page -- http://www.php.net/manual/en/function.mysql-insert-id.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47356
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47356&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47356&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47356&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47356&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47356&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47356&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47356&report=yes
Search -- http://master.php.net/manage/user-notes.php