sasql_rollback

Prototype
bool sasql_rollback( sasql_conn $conn )
Description

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

$conn   The connection resource returned by a connect function.

Returns

TRUE on success or FALSE on failure.

Related functions