Revivng the MySQL sequence question

From: Date: Tue, 03 Jun 2003 17:40:26 +0000
Subject: Revivng the MySQL sequence question
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-867@lists.php.net to get a copy of this message
I know that this question has been asked many times before on many different groups but I would like to know that if any future development of the sequence function will be made to answer this question: "What is the proper PEAR way to get the value that mysql_insert_id() gives you when using an auto_increment index?" I am using a MySQL db with the autoincrement and the database I am using accepts record additions by a few other APIs that are not written in PHP and therefore have to use the mysql autoincrement database function. Right now the only way around this is to INSERT a record and save all the sql that did it and rewrite it as a SELECT. Thanks, Jarrod Lash jarrod@ideasa-z.com Director of Information Services Davison Design and Development * P 412.967.0124 * F 412.967.0794 Corporate WebSite: http://www.ideasa-z.com

« previous php.pear.doc (#867) next »