hno Posted May 22, 2009 Share Posted May 22, 2009 HI How can return a field that related to the row that the query inserted it into the table.For example the query insert a new row into the table and after it was successful it should return the id of that row.How can I do that ? thanks Link to comment https://forums.phpfreaks.com/topic/159207-solved-question-about-returning-a-value-from-table/ Share on other sites More sharing options...
fanfavorite Posted May 22, 2009 Share Posted May 22, 2009 You mean something like mysql_insert_id()? http://ca3.php.net/mysql_insert_id Link to comment https://forums.phpfreaks.com/topic/159207-solved-question-about-returning-a-value-from-table/#findComment-839632 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.