Guest Posted January 28, 2007 Share Posted January 28, 2007 How can i add a row into a database and get the id of that same row? Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 28, 2007 Share Posted January 28, 2007 after you insert it use$id = mysql_insert_id(); Quote Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2007 Share Posted January 28, 2007 Thank You so much I didnt ever think it was that simple. Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 28, 2007 Share Posted January 28, 2007 No problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.