mysql - get actual row
| From: | Harry.de | Date: | Tue, 10 Jun 2003 22:18:08 +0000 |
| Subject: | mysql - get actual row | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150973@lists.php.net to get a copy of this message | ||
Hi,
if i insert into a mysql table a row e.g.
mysql_query("INSERT into TEST (testfield) VALUES ('This is a test')");
and the first field is an auto increment (e.g. NR),
how can i get the value of the auto increment NR i've actually inserted?
Tanks Harry