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

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere PHP API » SQL Anywhere PHP API 参考 » 不建议使用 PHP 函数

 

sqlanywhere_disconnect(不建议使用)

原型
bool sqlanywhere_disconnect(  resource link_identifier  )
说明

不建议使用此函数。应该改用以下 PHP 函数: sasql_disconnect.

关闭一个用 sqlanywhere_connect 打开的连接。

参数

link_identifier   由 sqlanywhere_connect 函数返回的链接标识符。

返回值

TRUE(成功时)或 FALSE(错误时)。

示例

本示例关闭与数据库的连接。

sqlanywhere_disconnect( $conn );
相关函数