hi ...i have a problem connecting MSSQL 2005 express and php..
i've tried configuring the php.ini by removing the ; in extension=php_mssql.dll
but not working
i also place the php_mssql.dll on ext folder but not working again;
and also i tried downloading an old ntwdblib.dll and placing it in system32
but not working also :( can someone help me please...
heres my code btw;
----------------------
<?php
$uid = "";
$db = "";
$pwd = "";
$host = "XXX\SQLEXPRESS";
$conn = mssql_connect($host, $uid, $pwd) or die('Could not connect')
or die("Couldn't connect to SQL Server on $host");
$selected = mssql_select_db($db, $conn)
or die("Couldn't open database $db");
echo "MSSQL Connection successful";
?>
-----------------------------