Re: mysql_insert_id
| From: | joeb | Date: | Tue, 26 Sep 2000 13:15:07 +0000 |
| Subject: | Re: mysql_insert_id | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17610@lists.php.net to get a copy of this message | ||
> Update: when I pass the result returned by the mysql() function
> call, mysql_insert_id() returns '0' (zero). But when I do not pass
> any arguments to the mysql_insert_id() function, it returns the
> correct value.
> Why? Shouldn't it work properly either way?
>
mysql() function ? Do you mean mysql_connect() as that is what you need the
return value from.
Regards
Joseph
Kanga Internet Services