hatrickpatrick Posted August 25, 2007 Share Posted August 25, 2007 I want my file to give the end user a link to the message they've just posted, but for that I need to know what auto_increment ID (message_id) got made from the insert query... Is there a php function to get that info? Quote Link to comment https://forums.phpfreaks.com/topic/66678-is-there-a-function-to-get-the-inserted-row-id-after-an-insert-query/ Share on other sites More sharing options...
wildteen88 Posted August 25, 2007 Share Posted August 25, 2007 mysql_insert_id Quote Link to comment https://forums.phpfreaks.com/topic/66678-is-there-a-function-to-get-the-inserted-row-id-after-an-insert-query/#findComment-334067 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.