Home > PHP > Function > Firebird/InterBase > ibase_commit()

ibase_commit()

ibase_commit - Commit a transaction

Syntax

bool ibase_commit (resource $link_or_trans_identifier)

Arguments

  • link_or_trans_identifier - If called without an argument, this function commits the default transaction of the default link. If the argument is a connection identifier, the default transaction of the corresponding connection will be committed. If the argument is a transaction identifier, the corresponding transaction will be committed.

Description

Commits a transaction.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.