I'm trying to make a connection to SQLServer and PHP But the page returns me the following error:
Warning: mssql_connect () [function.mssql-connect]: Unable to connect to server: 192.168.2.7 \ SRVDOC \ DOCSYSTEMSCAN in C: \ wamp \ www \ connection.php on line 2Warning: mssql_select_db () expects parameter 2 to be resource, boolean given in C: \ wamp \ www \ connection.php on line 3
The current code is:
<?php
$con = mssql_connect("192.168.2.7\SRVDOC\DOCSYSTEMSCAN", "sa", "minhasenha");
mssql_select_db("fd_585b0f87", $con);
?>
I'm breaking my head but I do not know what could be ... Any suggestions? Thank you.