MySQL Forums
Forum List  »  PHP

mysql_insert_id()
Posted by: graham bramley
Date: November 26, 2012 02:53PM

Hello All,
I'm trying to select a user from a select list, then insert that user into another table called transactions, then go onto my next page.

Easy eh!!
Well, yes that bit is! What is not easy is when I'm trying to retrieve what the recently generated transactionID is.

I have tried the mysql_inert_id() which works fine if I stay on the same page.

Any help would always be much appreciated.

Many Thanks

Graham

Options: ReplyQuote


Subject
Written By
Posted
mysql_insert_id()
November 26, 2012 02:53PM
November 26, 2012 05:27PM
November 27, 2012 03:24AM
November 28, 2012 09:29PM
January 14, 2013 05:48AM


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.