PHP 手冊
前一頁 |  | 下一頁

# fbsql_commit

(PHP 4 >= 4.0.6, PHP 5)

fbsql_commit -- Commits a transaction to the database

## Description

bool fbsql_commit ( [resource link_identifier] )

成功回傳`TRUE`失敗回傳`FALSE`。

fbsql_commit() ends the current transaction by writing all inserts, updates and deletes to the disk and unlocking all row and table locks held by the transaction. This command is only needed if autocommit is set to false.

See also: fbsql_autocommit() and fbsql_rollback()

前一頁 | 內容 | 下一頁
fbsql_close | 上一層 | fbsql_connect