PHP 手冊
上一頁 |  | 下一頁

# fbsql_autocommit

(PHP 4 >= 4.0.6, PHP 5)

fbsql_autocommit -- Enable or disable autocommit

## Description

bool fbsql_autocommit ( resource link_identifier [, bool OnOff])

fbsql_autocommit() returns the current autocommit status. If the optional OnOff parameter is given the auto commit status will be changed. With OnOff set to `TRUE` each statement will be committed automatically, if no errors was found. With OnOff set to `FALSE` the user must commit or rollback the transaction using either fbsql_commit() or fbsql_rollback().

See also: fbsql_commit() and fbsql_rollback()

上一頁 | 最開頭 | 下一頁
fbsql_affected_rows | 上一層 | fbsql_blob_size