\n"; while ($catItem = mysql_fetch_assoc($catList)) { if ($lastCat != $catItem['category']) { $lastCat = $catItem['category']; echo "
$lastCat
\n"; } echo "
\n"; echo "
{$catItem['vsn']}
\n"; echo "
{$catItem['vend']}
\n"; echo "
{$catItem['description']}
\n"; echo "
".strtoupper($catItem['owner'])."
\n"; echo "
\n"; } echo "\n"; ?>