Page 1 of 1

[solved] return id of new entry

Posted: Fri Sep 16, 2005 8:59 am
by tom.cull
is there a way that I can do the following:

have a page where a user creates a new database record. once that record is created, i need mysql to somehow send back the ID (auto_inc) of the new entry so that I can pass it thru the URL to a further editing page.

thanks

Posted: Fri Sep 16, 2005 9:07 am
by hawleyjr
mysql_insert_id()