[PHP-DB] Getting the ID of the last inserted record possible?

2002-02-23 Thread Andy
Hi there, I would like to name pictures I uploaded after the belonging ID in the db. Is there a way to find out the ID of the last record. I thought it might be a good idea to create the record, get the ID and copy the image with the ID as name to the server. Can anybody give me a hint on

Re: [PHP-DB] Getting the ID of the last inserted record possible?

2002-02-23 Thread Andrey Hristov
mysql_insert_id() Regards Andrey - Original Message - From: Andy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 3:32 PM Subject: [PHP-DB] Getting the ID of the last inserted record possible? Hi there, I would like to name pictures I uploaded after