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

ibase_rollback()

ibase_rollback - Roll back a transaction

Syntax

bool ibase_rollback (resource $link_or_trans_identifier)

Arguments

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

Description

Rolls back a transaction.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.