spenceddd Posted February 8, 2010 Share Posted February 8, 2010 Hi, Does anyone know how to return the id of the most recently added row in a mysql table? Thanks for any help omn this. Spencer Link to comment https://forums.phpfreaks.com/topic/191346-how-to-return-the-id-of-the-most-recently-added-row-in-a-mysql-table/ Share on other sites More sharing options...
MRushton Posted February 8, 2010 Share Posted February 8, 2010 mysql_insert_id(); Link to comment https://forums.phpfreaks.com/topic/191346-how-to-return-the-id-of-the-most-recently-added-row-in-a-mysql-table/#findComment-1008811 Share on other sites More sharing options...
spenceddd Posted February 8, 2010 Author Share Posted February 8, 2010 Ah yes! Thanks a lot. Link to comment https://forums.phpfreaks.com/topic/191346-how-to-return-the-id-of-the-most-recently-added-row-in-a-mysql-table/#findComment-1008818 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.