Q. Which function is used to get the last inserted ID in MySQL using mysqli?
β
Correct Answer: (B)
mysqli_insert_id()
Explanation: mysqli_insert_id() returns the last inserted ID.