PEAR::DB and mysql_insert_id()
| From: | Mos | Date: | Mon, 04 Oct 2004 13:50:03 +0000 |
| Subject: | PEAR::DB and mysql_insert_id() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14745@lists.php.net to get a copy of this message | ||
Hi everybody !
Is there a class/function to have something which lookx like
mysql_insert_id() in PHP when using PEAR:/DB classes ?
I mean how find the next autoincrement id in a table with the PEAR:/DB class
? Or should I code a function/class to do that in all the databases
supported through PEAR:/DB ?
Thanks
Mos