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 参考

 

sasql_connect

原型
sasql_conn sasql_connect( string $con_str )
说明

建立与 SQL Anywhere 数据库的连接。

参数

$con_str   一个由 SQL Anywhere 识别的连接字符串。

返回值

一个正的 SQL Anywhere 连接资源(成功时),或一个错误和 0(失败时)。

相关函数
另请参见