Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere PHP API » SQL Anywhere PHP API reference » Deprecated PHP functions

 

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