I have just received the following problems:
Warning: mysql_connect(): Can't connect to MySQL server on 'caelum.netregistry.com.au' (10061) in D:\SITES\CROWTHER\new\includes\DisplayFunctions.php on line 885
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in D:\SITES\CROWTHER\new\includes\DisplayFunctions.php on line 886
unable to find db
line 885 is
$db=mysql_connect(HOST,USER,PASS);
line 886 is
$SQL = "SELECT Title, VesselID, Thumbnail FROM vessel WHERE BrokerageID = '0' AND Category ='".$category."' ORDER BY Title";
$RS = mysql_query($SQL, $db);
while($row = mysql_fetch_object($RS)){
…
}[/COLOR]
Variables HOST, USER, PASS are defined further above. I have checked these details work by connecting to the database using MyCON mySQL GUI.