I usually get the following when trying to connect:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/raazz053/public_html/Product_Details.php on line 186
====================================================================

<?
$sql=mysql_query("Select Title from tblMain where Id=$a_row[McatId]");
$amyrow=mysql_fetch_array($sql); ---error line 186
?>

Help!!