I set my site up on a free isp so I could get the php and mysql working.
Once the site was close to being finished, I have uploaded it onto a payed isp that supports these facilities.
I now get a warning (as below) on the page.
Which was originaly a news item.
Warning: 0 is not a MySQL result index in /home/naughty/naughtydesktop-www/tuesday.php3 on line 37
This is the php code where it stats there is a error...
<!-- Start News Section -->
<?
$SQL = "SELECT * FROM tbl_News WHERE Active = 1 ORDER By DateAdded Desc LIMIT $numNews";
$result = mysql_query($SQL);
while ($myrow = mysql_fetch_row($result)) {
$ID = $myrow[0];
$Title = $myrow[1];
$Content = $myrow[2];
$Active = $myrow[3];
$DateAdded = $myrow[4];
echo "$Content";
echo "$newsSeparator";
}
?>
<!-- End News -->
Can anyone help me..