rendered paste body<?PHP session_start(); require("access.php"); ?><?php include("top2.php"); ?><?php$foodcat = $_GET['foodcat'];if ($foodcat == "") {echo "<b><big>Select your Food Catagory</big></b><p>Please specify a category:<p><a href=\"cook_book.php?foodcat=Appetizers\">Appetizers</a><br><a href=\"cook_book.php?foodcat=Bread\">Bread</a><br><a href=\"cook_book.php?foodcat=Dessert\">Desert</a><br><a href=\"cook_book.php?foodcat=Drinks\">Drinks</a><br><a href=\"cook_book.php?foodcat=Entrees\">Entrees</a><br><a href=\"cook_book.php?foodcat=Salad\">Salad</a><br><a href=\"cook_book.php?foodcat=Soups\">Soups</a><br><a href=\"cook_book.php?foodcat=Vegitables\">Vegitables</a><br><p><a href=\"cook_book.php?foodcat=All\">All Groups</a><p>";}elseif ($foodcat == "all") {echo "<b><big>All Food Catagorys</big></b>";$query = mysql_query("select * from cookbook where active=\"1\" ORDER BY product_ID");while($data = mysql_fetch_array($query)){?>ALL Food Groups<?PHP};}else {echo "<b><big>".$foodcat."</big></b>";$query = mysql_query("select * from cookbook where foodcat=\"".$foodcat."\" and active=\"1\" order by product_id ASC");while($data = mysql_fetch_array($query)){?>FOOD GROUP: <?=$data['foodcat']?><?PHP};?><p><a href="cookbook.php?foodcat=all">View all Food Groups</a><p><?PHP};?><?PHP};?><?php include("bottom2.php"); ?>