Re: mysql_insert_id
| From: | Erwin | Date: | Wed, 11 Sep 2002 07:24:36 +0000 |
| Subject: | Re: mysql_insert_id | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115936@lists.php.net to get a copy of this message | ||
Clemson Chan wrote:
> Hi guys,
>
> I never can get mysql_insert_id?
> Is this broken with PHP4?
> Please let me know if you can get it to work. or work around.
It works here, but it returns only an ID if the table in which you add a
record has a AutoIncrement column, because it will returns the value of the
AutoIncrement column.
HTH
Erwin