|
mysqli::begin_transactionmysqli_begin_transactionStarts a transaction DescriptionObject oriented style (method):
public bool mysqli::begin_transaction
([ int
$flags
[, string $name
]] )Procedural style:
bool mysqli_begin_transaction
( mysqli
$link
[, int $flags
[, string $name
]] )Begins a transaction. Requires MySQL 5.6 and above, and the InnoDB engine (it is enabled by default). For additional details about how MySQL transactions work, see » http://dev.mysql.com/doc/mysql/en/commit.html. Parameters
Return Values
Returns ExamplesExample #1 $mysqli->begin_transaction example Object oriented style
<?php Procedural style
<?php See Also
|