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? 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 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
Archived
This topic is now archived and is closed to further replies.