db2_commit
Commits a transaction
Description
bool db2_commit(resource $connection
)
Parameters
-
connection
-
A valid database connection resource variable as returned from
db2_connect or db2_pconnect.
Return Values
Returns true
on success or false
on failure.
See Also
- db2_autocommit
- db2_rollback