Re: [PHP-DB] mssql connecting

2007-05-25 Thread Sady Marcos
I also use PHP/SQL Server, but my server is the IIS. To make the PHP to have access the SQL Server 2000 in the Windows 2003 server, you he will need to install SP 4 of the SQL Server. David BERCOT [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hi, Le Wed, 23 May 2007 14:37:58

[PHP-DB] mysqli_select_db() expects exactly 2 parameters, 1 given

2007-05-25 Thread James Lockie
I do: $db = mysqli_select_db( $database_name ); I get this error: HP Warning: mysqli_select_db() expects exactly 2 parameters, 1 given I have MySQL server version: 4.1.22 and PHP 5.2.2. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] mysqli_select_db() expects exactly 2 parameters, 1 given

2007-05-25 Thread David Weitz
mysqli_select_db requires the connection to be in the first argument. So: $link = mysqli_connect('blah','blah','blah'); $db = mysqli_select_db($link,$db_name); James Lockie wrote: I do: $db = mysqli_select_db( $database_name ); I get this error: HP Warning: mysqli_select_db() expects exactly 2

Re: [PHP-DB] mysqli_select_db() expects exactly 2 parameters, 1 given

2007-05-25 Thread James Lockie
David Weitz wrote: mysqli_select_db requires the connection to be in the first argument. So: $link = mysqli_connect('blah','blah','blah'); $db = mysqli_select_db($link,$db_name); James Lockie wrote: I do: $db = mysqli_select_db( $database_name ); I get this error: HP Warning: