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
I'm following the PEAR docs to use Mail/SMTP. Below is the code I use,
swiped directly from the docs--I've changed the authorization data to
protect privacy, but otherwise it's identical (and email sent from a client
on this same machine using the same settings works fine). I'm running PHP
4.3.6 I
2 matches
Mail list logo