PHP Manualcubrid_commit(PECL CUBRID >= 8.3.0) cubrid_commit — Commit a transaction Description
bool cubrid_commit
( resource
$conn_identifier )
The cubrid_commit() function is used to execute commit
on the transaction pointed by In CUBRID PHP, an auto-commit mode is disabled by default for transaction management, and you can set it by using cubrid_set_autocommit(), and get its status by using cubrid_get_autocommit(). Before you start a transaction, remember to disable the auto-commit mode. Parameters
Return Values
ExamplesExample #1 cubrid_commit() example
<?php The above example will output: P01 Abatis Publishers New York NY USA P02 Core Dump Books San Francisco CA USA P03 Schadenfreude Press Hamburg Germany P04 Tenterhooks Press Berkeley CA USA See Also
![]() |
PHP-Index
New Tutorial entries
|