sqlanywhere_rollback (deprecated)

Prototype
bool sqlanywhere_rollback(  resource link_identifier )
Description

This function is deprecated. You should use the following PHP function instead: sasql_rollback.

Ends a transaction on the SQL Anywhere database and discards any changes made during the transaction. This function is only useful when the auto_commit option is Off.

Parameters

link_identifier   The link identifier returned by the sqlanywhere_connect function.

Returns

TRUE on success or FALSE on failure.

Example

This example uses sqlanywhere_rollback to roll back a connection.

$result = sqlanywhere_rollback( $conn );
Related functions