sasql_rollback

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

Prototype

bool sasql_rollback( sasql_conn $conn )

Parameters

$conn – The connection resource returned by a connect function.

Returns

TRUE on success or FALSE on failure.