Re: quick newbie q: mysql_insert_id()

From: Date: Mon, 05 Jul 2004 18:39:51 +0000
Subject: Re: quick newbie q: mysql_insert_id()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189742@lists.php.net to get a copy of this message
"Christopher J. Mackie" <cjmackie@princeton.edu> wrote in message news:20040705182912.23259.qmail@pb1.pair.com... > 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. Please search the PEAR general mailing list archive. This question is being asked (and answered) frequently: http://marc.theaimsgroup.com/?l=pear-general Regards, Torsten Roehr

« previous php.general (#189742) next »