Re: SQL>Insert and recover the ID
| From: | Chase Urich | Date: | Thu, 31 Oct 2002 21:19:23 +0000 |
| Subject: | Re: SQL>Insert and recover the ID | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122333@lists.php.net to get a copy of this message | ||
Check out mysql_insert_id()
> For the moment, I do a select max(Id) just after the insert but there
> is, my be a best way to do it.
--
Linux: Because rebooting is for adding hardware.
Fingerprint = CE24 057D 1E88 A253 3196 89DB 9FF0 9EF0 2F70 8BE8 BE8
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc