SAMConnection::commit() Commits (completes) the current unit of work. &reftitle.description; Calling the "commit" method on a Connection object commits (completes) all in-flight transactions that are part of the current unit of work. SAMConnection boolcommit &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"; } ?> ]]>