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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.