Hi Jean-Louis
If you use from mysql database function in php, you can use from function
mysql_insert_id after using query "insert ....".
"Jean-Louis Letortorec" <[EMAIL PROTECTED]> wrote in message
> Hi:
> I've created a table. The fields are "id" (auto-increment, integer),
> "field1","field2),...
> When I do "insert into mytable (field1..) values (...)", how to get in
> return the value of "id"?
> Thanks
> Jean-Louis

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to