Hi all,
I'm tryin to use ms sql server for my new project...as it is the first time i have used it i'm not sure whats goin on but i keep on gettin this error when i try to connect to the server...
Fatal error: Call to undefined function: msssql_conntect() in c:\apache\quality\index.php on line 24
I really can't understand why it wants me to define the function anyway here is the code I'm using...
$ms_connect=mssql_connect("NIALL","sa","") or die("Couldn't connect to the server");
$ms_db=mssql_select_db("test",$ms_connect) or die("Couldn't open database test");
$ms_query= "SELECT * FROM test_2 WHERE lotno = '123456789'";
$cur=mssql_query($ms_query) or die("Error in Query");
echo mssql_fetch_array($cur);
Any help is much appreciated
Thanks in advance
Rgds
Niall