I am struggling in one issue . I have tried so many times , but didn't get any solution for this issue.
My Issue is
unable to connect the MSSQL server from wamp
This is my sample code
Code: Select all
$myServer = "24.96.47.85,1433\\mssql2008-1";
$myUser = "username";
$myPass = "password";
$myDB = "db";
//connection to the database
$dbhandle = mssql_connect($myServer, $myUser, $myPass)
or die("Couldn't connect to SQL Server on $myServer");
//select a database to work with
$selected = mssql_select_db($myDB, $dbhandle)
or die("Couldn't open database $myDB"); Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\conn.php on line 17
1 . I uncomment the extension=php_mssql.dll in php.ini file also
Please anyone tell me . How to fix this issue. Its very urgent . Please help me
Please any one tell me how to solve this issue.