hardikspider123 Posted October 15, 2015 Share Posted October 15, 2015 hello, I need last inserted id as a variable in php. I am posting value through ajax in MySQL and getting back last_insert_id in success function as an alert. but can you tell me how would I get in it php or jquery variable? I want to get inserted id back because I want to insert records on last inserted id. Please let me know how it is possible Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Barand Posted October 15, 2015 Share Posted October 15, 2015 What is the code where you insert the record? Quote Link to comment 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.