SAMConnection { bool rollback();}
bool rollback();
Rolls back an in-flight unit of work.
This method returns FALSE if an error occurs.
FALSE
<?phpif (!$conn->rollback()) { // The rollback failed! echo "Rollback failed ($conn->errno) $conn->error"; }?>