[PHP] mysql - get actual row

2003-06-10 Thread Harry.de
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 -- PHP General Mailing List

Re: [PHP] mysql - get actual row

2003-06-10 Thread Tom Woody
On Tue, 2003-06-10 at 17:18, Harry.de wrote: 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?