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 )
この関数は使用されなくなりました。代わりに、sasql_connect 関数を使用してください。sasql_connect を参照してください。
SQL Anywhere データベースへの接続を確立します。
con_str SQL Anywhere によって認識される接続文字列。
成功の場合は正の SQL Anywhere リンク識別子、失敗の場合はエラーまたは 0。
次の例では、接続文字列内に指定された SQL Anywhere データベースのユーザー ID とパスワードを渡します。
$conn = sqlanywhere_connect( "UID=DBA;PWD=sql" );