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 )
This function is deprecated. You should use the sasql_connect function instead. See sasql_connect.
Establishes a connection to a SQL Anywhere database.
A connection string as recognized by SQL Anywhere.
A positive SQL Anywhere link identifier on success, or an error and 0 on failure.
This example passes the user ID and password for a SQL Anywhere database in the connection string.
$conn = sqlanywhere_connect( "UID=DBA;PWD=sql" );