Re: Re: PEAR correspondent for mysql_insert_id()
| From: | (Alexander Merz) | Date: | Thu, 20 Dec 2001 13:34:42 +0000 |
| Subject: | Re: Re: PEAR correspondent for mysql_insert_id() | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-619@lists.php.net to get a copy of this message | ||
> In case someone has the same question, the answer is :
> If $db is your current connection :
> $lastAutoIncrement = mysql_insert_id($db->connection);
It requires less then 2 min to change the name of this class variable in CVS :)