getting auto-incrementing fields
| From: | Brad Wright | Date: | Fri, 13 Jul 2001 06:15:49 +0000 |
| Subject: | getting auto-incrementing fields | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57690@lists.php.net to get a copy of this message | ||
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??
Thanks in advance,
Brad