maxdb_autocommit
maxdb->auto_commit
Turns on or off auto-commiting database modifications
Description
Procedural style:
boolmaxdb_autocommit
resourcelink
boolmode
Object oriented style (method)
maxdb
bool
auto_commit
boolmode
maxdb_autocommit is used to turn on or off auto-commit mode
on queries for the database connection represented by the link
resource.
Return values
&return.success;
See also
maxdb_commit,
maxdb_rollback.
Example
Object oriented style
autocommit(TRUE);
/* close connection */
$maxdb->close();
?>
]]>
Procedural style
]]>
The above examples would produce no output.