bool sqlanywhere_rollback( resource link_identifier )
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.
link_identifier The link identifier returned by a sqlanywhere_connect function.
True on success or false on failure.
This example uses sqlanywhere_rollback to roll back a connection.
$result = sqlanywhere_rollback( $conn );