Re: Getting the ID of the last inserted record possible?
| From: | Andrey Hristov | Date: | Sat, 23 Feb 2002 13:38:30 +0000 |
| Subject: | Re: Getting the ID of the last inserted record possible? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17220@lists.php.net to get a copy of this message | ||
mysql_insert_id()
Regards
Andrey
----- Original Message -----
From: "Andy" <news.letters@gmx.de>
To: <php-db@lists.php.net>
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
>
>