PHP Manual
后退 |  | 前进

# fbsql_commit

(PHP 4 >= 4.0.6, PHP 5)

fbsql_commit -- Commits a transaction to the database

## 说明

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