On Sunday, June 2, 2002 at 4:07:31 AM, you wrote:
> will this return the row number or the "id" fields value..?
> If it returns the row number how do I get the ID number?
> The id started at 1500.
>From the manual page for mysql_insert_id()...
"mysql_insert_id() returns the ID generated for an AUTO_INCREMENT column by the
previous INSERT query"
In other words, it returns the "id" fields value.
Don't take this the wrong way, but you clearly didn't look this up in the
manual. This list is to help with real problems, not manual lookups.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php