NYCPHP Meetup

NYPHP.org

[nycphp-talk] PEAR::DB insertID???

Eric Rank erank at isthmus.com
Tue Mar 30 10:13:00 EST 2004


Howdy folks,

I haven't looked extensively at the PEAR documentation, but from what I did
see, I couldn't find a means of getting an inserted ID after an insert
query. Using mysql_insert_id($dbh->connection) works, but abstracting away
from db-specific code is the whole point of PEAR::DB right? Any thoughts?

Eric




More information about the talk mailing list