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 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 that? > > Thanx Andy > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php