$category = "Cultured Corals"; if (!empty($_GET["category"])) $category = $_GET["category"]; if (!empty($_POST["category"])) $category = $_POST["category"]; if (!empty($_POST["button"])) { if ($_POST["button"]==" PgUp ") $page = $_POST["xpage"]; else $page = $_POST["ypage"]; } include "royal_lib.php"; $conn = SqlConnect(); ?>