Getting the ID of the last inserted record possible?
| From: | Andy | Date: | Sat, 23 Feb 2002 13:32:56 +0000 |
| Subject: | Getting the ID of the last inserted record possible? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17219@lists.php.net to get a copy of this message | ||
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