Hi,
Why won't this display all the rows?
$result = mysql_query($query);
if($row = mysql_fetch_array($result)){
echo "<font face=\"Verdana\" size=2>{$row['CatName']} - </font><a href=\"melb_edit_cat1.php?id={$row['CatID']}\"><font color=\"red\" face=\"Verdana\" size=2><b>Edit</b></font></a><br>\n";
}
else
{
echo "<font face=\"Verdana\" size=2><B>There are <u>no</u> sub-categories</B></font>";
}
Can any one see where i have gone wrong?
sim