Brad Wright wrote:
>
> Hi all,
> I have a situation where I am adding a new row to a (mySQL) table. One of
> the fields in table is auto-incrementing. When I add a new row, I would like
> to return the value of the auto-incrementing field (named 'Number') as
> $Number for the new row.
>
> Can anyone help??
Maybe this helps:
http://www.php.net/manual/en/function.mysql-insert-id.php
--
Pavel a.k.a. Papi
--
PHP General 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]