I am trying to connect to a godaddy hosted MSSQL database with php. here is my connection string with generic information:
HTML Code:<?php $myServer = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"; $myUser = "username"; $myPass = "password"; $myDB = "dbname"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer");
what am I doing wrong? it fails at
mssql_connection
thanks everyone.




Reply With Quote