Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
resource sqlanywhere_connect( string con_str )
不建议使用此函数。应该改用以下 PHP 函数: sasql_connect.
建立与 SQL Anywhere 数据库的连接。
con_str 一个由 SQL Anywhere 识别的连接字符串。
一个正的 SQL Anywhere 链接标识符(成功时),或一个错误和 0(失败时)。
本示例传递连接字符串中的 SQL Anywhere 数据库的用户 ID 和口令。
$conn = sqlanywhere_connect( "UID=DBA;PWD=sql" );