Hi
I am trying to connect to a MS SQL server and it is driving me mad.
I am using the following code
It keeps coming back with the Unable to connect to server error.
I have logged into the SQL server with the username and password.
Someone in my organization is connecting to the server using ADO and ASP with the same username and password without any problems.
Has anyone got any suggestions for things to try???
I am trying to connect to a MS SQL server and it is driving me mad.
I am using the following code
Code:
$db = mssql_connect('servername','username','password') or die("Unable to connect to server");
It keeps coming back with the Unable to connect to server error.
I have logged into the SQL server with the username and password.
Someone in my organization is connecting to the server using ADO and ASP with the same username and password without any problems.
Has anyone got any suggestions for things to try???