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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere PHP API » SQL Anywhere PHP API reference

sqlanywhere_data_seek Next Page

sqlanywhere_disconnect


Prototype

bool sqlanywhere_disconnect( resource link_identifier )

Description

Closes a connection that has already been opened with sqlanywhere_connect.

Parameters

link_identifier    The link identifier returned by a sqlanywhere_connect function.

Returns

True on success or false on error.

Example

This example closes the connection to a database.

sqlanywhere_disconnect( $conn );
Related functions