PHP SQL-Server connection error

theproit

New Member
I am trying to connect to sql server using php using following code:\[code\]$myServer = "server";$myUser = "username";$myPass = "password";$myDB = "test";//connection to the database$dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer");\[/code\]Getting following error:\[quote\] Fatal error: Call to undefined function mssql_connect() in /var/www/echdp/mssql_connection.php on line 26\[/quote\]Using php version\[quote\] PHP Version 5.3.2-1ubuntu4.2\[/quote\]I have googled it many time and also try to search php_mssql extension but not found. Also search to install mssql extension but not find a useful link/tutorial .
 
Back
Top