Re: Re: PEAR correspondent for mysql_insert_id()
| From: | Martin Jansen | Date: | Thu, 20 Dec 2001 16:29:28 +0000 |
| Subject: | Re: Re: PEAR correspondent for mysql_insert_id() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-620@lists.php.net to get a copy of this message | ||
On Thu, 20 Dec 2001 14:34:42 +0100, Alexander Merz wrote:
>> 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 :)
Man, you are slow - I don't need more than 1 minute to do so :-).
- Martin
--
Martin Jansen, <mail@martin-jansen.de>
http://www.martin-jansen.de/