M.O.S. Studios Posted January 14, 2009 Share Posted January 14, 2009 Hey guys, Im working on a form that fills out two tables table 1.information from the form table 2. the rest of the information + the index number from table 1 is there any way to get the index number when the row is inserted? Link to comment https://forums.phpfreaks.com/topic/140854-solved-returning-values-from-a-mysql-roiw-just-added/ Share on other sites More sharing options...
premiso Posted January 14, 2009 Share Posted January 14, 2009 mysql_insert_id should do it. Link to comment https://forums.phpfreaks.com/topic/140854-solved-returning-values-from-a-mysql-roiw-just-added/#findComment-737241 Share on other sites More sharing options...
M.O.S. Studios Posted January 14, 2009 Author Share Posted January 14, 2009 This works perfectly! thanks Link to comment https://forums.phpfreaks.com/topic/140854-solved-returning-values-from-a-mysql-roiw-just-added/#findComment-737252 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.