(no version information, might be only in CVS)
Rolls back an in-flight unit of work.
This method returns FALSE if an error occurs.
Example 1. Cancelling an in-flight unit of work
<?phpif (!$conn->rollback()) { // The rollback failed! echo "Rollback failed ($conn->errno) $conn->error";}?>
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.