note 56527 added to function.mysql-insert-id
| From: | cosu at dctwebs dot com | Date: | Tue, 06 Sep 2005 11:08:02 +0000 |
| Subject: | note 56527 added to function.mysql-insert-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94807@lists.php.net to get a copy of this message | ||
i'm using mysql_insert_id() and get a 0 as result. the point is that the insertion of the new
row is done correctly, but still don't get the correct mysql_insert_id().
plus, it works just fine on my computer, but it doesn't work on the server.
pls suggest.
thanks
----
Manual Page -- http://www.php.net/manual/en/function.mysql-insert-id.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56527
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56527&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56527&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56527&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56527&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56527&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56527&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56527&report=yes
Search -- http://master.php.net/manage/user-notes.php