|
mysqli::autocommitmysqli_autocommitTurns on or off auto-committing database modifications DescriptionObject oriented style
bool mysqli::autocommit
( bool
$mode
)Procedural style
bool mysqli_autocommit
( mysqli
$link
, bool $mode
)Turns on or off auto-commit mode on queries for the database connection. To determine the current state of autocommit use the SQL command SELECT @@autocommit. Parameters
Return Values
Returns Notes
ExamplesExample #1 mysqli::autocommit example Object oriented style
<?php Procedural style
<?php The above examples will output: Autocommit is 1 See Also
|