You have to load php_mssql.dll extension. Then in php $dbhost="myDBHost"; // or IP address of the server $dbusername="username"; $dbpassword="password"; $dbname="MyDatabase";
$connection=mssql_pconnect($dbhost,$dbusername,$dbpassword); mssql_select_db($dbname); HTH, Radovan "Nguyen Le Vinh" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I want to program some PHP pages in WinXP but I can't connect to SQLServer. > Can you help me? > > VINHNL, [EMAIL PROTECTED] > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php