v5:reference:connection:begintrans
This is an old revision of the document!
beginTrans
Syntax
void beginTrans()
Descriptions
The function beginTrans()
starts a new transaction. This function is not part of the smart transaction set.
Usage
$conn->BeginTrans(); $ok = $conn->Execute($sql); if ($ok) $ok = $conn->Execute($sql2); if (!$ok) $conn->RollbackTrans(); else $conn->CommitTrans();
v5/reference/connection/begintrans.1452986679.txt.gz · Last modified: 2017/04/21 11:37 (external edit)