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

SQL Anywhere 11.0.0 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere PHP API » SQL Anywhere PHP API reference » Deprecated PHP functions


sqlanywhere_disconnect (deprecated)

bool sqlanywhere_disconnect(  resource link_identifier  )

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

Closes a connection that has already been opened with sqlanywhere_connect.


link_identifier   The link identifier returned by the sqlanywhere_connect function.


TRUE on success or FALSE on error.


This example closes the connection to a database.

sqlanywhere_disconnect( $conn );
Related functions