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
BY Best Interview Question ON 25 Jan 2019
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