SAMConnection::commit Commits (completes) the current unit of work. &reftitle.description; boolSAMConnection::commit Calling the "commit" method on a Connection object commits (completes) all in-flight transactions that are part of the current unit of work. &reftitle.returnvalues; This method returns &false; if an error occurs. &reftitle.examples; Committing the current unit of work commit()) { // The commit failed! echo "Commit failed ($conn->errno) $conn->error"; } ?> ]]> &reftitle.seealso;