Re: [PHP] quick newbie q: mysql_insert_id()

2004-07-05 Thread John W. Holmes
Christopher J. Mackie wrote: If I want to use PEAR DB to handle my database connections, how do I retrieve the recordID (primary key) added when I run an INSERT query? mysql_insert_id($db_object) doesn't seem to work if the object is PEAR, and the PEAR docs don't seem to show the same function. You

[PHP] quick newbie q: mysql_insert_id()

2004-07-05 Thread Christopher J. Mackie
If I want to use PEAR DB to handle my database connections, how do I retrieve the recordID (primary key) added when I run an INSERT query? mysql_insert_id($db_object) doesn't seem to work if the object is PEAR, and the PEAR docs don't seem to show the same function. Tx, --CJ -- PHP General Mail