note 28799 added to function.mysql-insert-id
| From: | julbravo at udec dot cl | Date: | Fri, 24 Jan 2003 08:38:32 +0000 |
| Subject: | note 28799 added to function.mysql-insert-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42683@lists.php.net to get a copy of this message | ||
Well... My ignorance is easy:
SLOW is a table in DB1 with ID autoincrement column.
How do I get in $mylast the last inserted ID if I didn't make before a query inserting?
Select * from DB1 where ID = (is the top ID)?
Or I have a mysql_somteing_like_a_last_inserted_function????
--
http://www.php.net/manual/en/function.mysql-insert-id.php
http://master.php.net/manage/user-notes.php?action=edit+28799
http://master.php.net/manage/user-notes.php?action=delete+28799
http://master.php.net/manage/user-notes.php?action=reject+28799