September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool odbc_autocommit(resource conn, int option)
Sets the autocommit action.
Returns:
TRUE on success; FALSE on failure
Description:
Specifies whether transactions performed are automatically committed to the database or whether odbc_commit() is required.Values used for the option parameter are 1 for on and 0 for off. This function is on by default.
Version:
Existing since version 3.0.6
Example:
$db = odbc_connect("DSN","user","pass");
odbc_autocommit($db,1);
|
Read now
Unlock full access