sqlanywhere_commit (deprecated)

Prototype
bool sqlanywhere_commit( resource link_identifier )
Description

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

Ends a transaction on the SQL Anywhere database and makes any changes made during the transaction permanent. Useful only 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 shows how sqlanywhere_commit can be used to cause a commit on a specific connection.

$result = sqlanywhere_commit( $conn );
Related functions