note 20664 added to function.mysql-insert-id
| From: | php-general at lists dot php dot net | Date: | Thu, 11 Apr 2002 19:45:47 +0000 |
| Subject: | note 20664 added to function.mysql-insert-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29124@lists.php.net to get a copy of this message | ||
Say I do something like this:
INSERT INTO sometable VALUES (NULL, 1), (NULL, 2), (NULL, 3);
How can I get the AUTO_INCREMENT id's other than a standard select? mysql_insert_id wont work
since it holds only one value, right?
-Ian
--
http://www.php.net/manual/en/function.mysql-insert-id.php
http://master.php.net/manage/user-notes.php?action=edit+20664
http://master.php.net/manage/user-notes.php?action=delete+20664
http://master.php.net/manage/user-notes.php?action=reject+20664