PHP Manual
Prev |  | Next

# fbsql_commit

(PHP 4 >= 4.0.6)

fbsql_commit -- Commits a transaction to the database

## Description

bool fbsql_commit ( [resource link_identifier])

Returns `TRUE` on success or `FALSE` on failure.

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()

Prev | Home | Next
fbsql_close | Up | fbsql_connect