prakash Posted October 16, 2007 Share Posted October 16, 2007 how can I get the id (primary key) for the recently added data from insert query. Quote Link to comment https://forums.phpfreaks.com/topic/73477-solved-how-to-get-id-for-newly-added-mysql-data/ Share on other sites More sharing options...
jd2007 Posted October 16, 2007 Share Posted October 16, 2007 mysql_insert_id() Quote Link to comment https://forums.phpfreaks.com/topic/73477-solved-how-to-get-id-for-newly-added-mysql-data/#findComment-370661 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.