Loading…

How to get last inserted id after insert data from a table in mysql?

mysql_insert_id() is used to get last insert id. It is used after insert data query. It will work when id is enabled as AUTO INCREMENT

Suggest An Answer

No suggestions avaliable!

Latest post from PHP interview questions

Ask Question