Code: Select all
$conn = mssql_connect("myhost.com","xyligosw","*****") or die("ERROR: Could not connect to DB!");
mssql_select_db("xyligo_com",$conn) or die("ERROR: Could Not select Tables!");
$sql = "SELECT * FROM news";
echo $conn;
echo "<br>";
echo $sql;
$t = mssql_query($sql,$conn) or die("<br>ERROR");All help in this matter is greatly appreciated!!
Thanks
Dan
PS i've removed the hostname and password, these have been checked multiple times and work when used to execute other queries. This seems to be the only one that crashes!