MySQL Forums
Forum List  »  Newbie

get index value of last insert
Posted by: Brendon Gleeson
Date: July 11, 2005 02:52AM

I am interfacing with mysql via php. I am busy excessively normalizing a db. I have a particular script that executes 2 insert queries, however the second query requires the index value (auto_increment) of the first insert. I am using PEAR::DB (or should I use a native mysql function?). Any pointers?

Options: ReplyQuote


Subject
Written By
Posted
get index value of last insert
July 11, 2005 02:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.