Re: mysql auto increment question
| From: | Justin Garrett | Date: | Sat, 08 Feb 2003 05:55:10 +0000 |
| Subject: | Re: mysql auto increment question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134859@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.mysql-insert-id.php
Justin Garrett
"Van Andel" <RVanAndel@chartercom.com> wrote in message
news:EF4CCFE15DD9B240991D1E74E1460D510CD27D66@stl02mexc07.corp.chartercom.co
m...
I have an application that updates two MySQL database tables. One table has
an auto_increment id field. I need to use this id to link to an entry in
the other table. Is there an easy way to find out what the auto_incremented
number is so I can use it to update the other table?
Robbert van Andel