Re: Another Pear::DB question
| From: | Chuck Hagenbuch | Date: | Fri, 19 Sep 2003 19:55:46 +0000 |
| Subject: | Re: Another Pear::DB question | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7926@lists.php.net to get a copy of this message | ||
Quoting Jan Skopek <skopek@gmx.de>:
> anyone knows how i can get the last-insert-id with Pear::DB?
> I am using mysql-driver.
Don't use an abstraction layer if you want to use MySQL-specific features. (In
other words, you can't.)
> Found DB_Common::nextId. But thats not the same.
No, but it's portable across databases.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Born right the first time.