Hello Diana,

Monday, March 29, 2004, 1:40:41 PM, you wrote:

DC> how can I get the id of the last record I inserted into a table with an
DC> insert query? (into Mysql database)

mysql_insert_id()

The manual is your friend.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to