<HTML>
<HEAD>
<link href="ASAWstyle.css" rel="stylesheet" type="text/css">
<TITLE>asainterface</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY text="#FFFFFF">
<?php include("includes/header.php"); ?>
<?php
include("includes/misc.inc");
/ Select all categories from PetType table /
$query = "SELECT * FROM productcat ORDER BY CatName";
$result = mysql_query($query)
or die ("Couldn't execute query.");
/ Display text before form /
echo "<table valign=top width=100%>\n";
while ($row = mysql_fetch_array($result))
{
extract($row);
echo "<tr><td valign='top' width='150'>\n";
echo "><font size='+1'><b><a
href="ShowProducts.php?category=$CatName">$CatName</b></a></font>";
echo "</td>
<td>$CatDesc</td>";
echo "</tr>";
}
echo "</table>\n";
?>
<?php include("includes/footer.php"); ?>
</body>
</html>
Can't figure out for the life of me what's wrong with it..
-Krag