Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
$result = mysql_query("select C.categoryname, count(P.prodname) as prodcount from categories as C join products as P on p.categoryid = C.categoryid group by C.categoryname");
while ($rows = mysql_fetch_assoc($result)) {
echo $rows("categoryname);
echo "(";
echo $rows("prodcount");
echo ")";
echo "<br>";
echo "\n";
}
mysql_free_result($result)