note 97307 added to function.mysql-insert-id
| From: | dellis87 at comcast dot net | Date: | Tue, 13 Apr 2010 14:25:47 +0000 |
| Subject: | note 97307 added to function.mysql-insert-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168203@lists.php.net to get a copy of this message | ||
What if you are adding an array into the table and have each row to receive it's own
auto_increment primary key?
I am adding an array and want to pull out the ids of all of the new rows that I just added.
Any help would be appreciated, thanks!
----
Server IP: 192.41.40.227
Probable Submitter: 70.22.126.22
----
Manual Page -- http://www.php.net/manual/en/function.mysql-insert-id.php
Edit -- https://master.php.net/note/edit/97307
Del: integrated -- https://master.php.net/note/delete/97307/integrated
Del: useless -- https://master.php.net/note/delete/97307/useless
Del: bad code -- https://master.php.net/note/delete/97307/bad+code
Del: spam -- https://master.php.net/note/delete/97307/spam
Del: non-english -- https://master.php.net/note/delete/97307/non-english
Del: in docs -- https://master.php.net/note/delete/97307/in+docs
Del: other reasons-- https://master.php.net/note/delete/97307
Reject -- https://master.php.net/note/reject/97307
Search -- https://master.php.net/manage/user-notes.php