Which method rolls back the present transaction?
A
commit()
B
undo()
C
mysqli_rollback()
D
rollback()
Correct Answer: mysqli_rollback()
The function mysqli_rollback() is used to roll back from the current transaction for the specified database connection. Its syntax is: mysqli_rollback(connection); Rollback() was used in previous version of PHP.