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? Link to comment https://forums.phpfreaks.com/topic/36102-solved-mysql-id/ 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(); Link to comment https://forums.phpfreaks.com/topic/36102-solved-mysql-id/#findComment-171375 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. Link to comment https://forums.phpfreaks.com/topic/36102-solved-mysql-id/#findComment-171379 Share on other sites More sharing options...
Jessica Posted January 28, 2007 Share Posted January 28, 2007 No problem. Link to comment https://forums.phpfreaks.com/topic/36102-solved-mysql-id/#findComment-171382 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.