DB2_COMMIT(3) 1 DB2_COMMIT(3)
db2_commit - Commits a transaction
SYNOPSIS
bool db2_commit (resource $connection)
DESCRIPTION
Commits an in-progress transaction on the specified connection resource and begins a new transaction. PHP applications normally default to
AUTOCOMMIT mode, so db2_commit(3) is not necessary unless AUTOCOMMIT has been turned off for the connection resource.
PARAMETERS
o $connection
- A valid database connection resource variable as returned from db2_connect(3) or db2_pconnect(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
db2_autocommit(3), db2_rollback(3).
PHP Documentation Group DB2_COMMIT(3)