</header> <!-- ----------------------------Left and Right Box Margins----------------------------------------- --> <div id="leftbox"> </div> <div id="rightbox"> </div> <div style="margin-top:60px;"> <?php // Display the results $type = 'beans'; productDisplay(fetchProducts("beans"), $type); ?> <div id=addToCartDisplay> <?php if (isset($_SESSION['custID'])) { $custID = $_SESSION['custID']; } else { $_SESSION['custID'] = ""; } if (!$LinkID) { die('Could not connect: ' . mysql_error()); } //As long as something was sent via POST then...: if (!empty($_POST)) { //Set post variables
<div id="leftbox"> </div> <div id="rightbox"> </div> <div id="container"> <!-- Grab product info from database and display --> <div id="content" style="margin-top:60px;"> <?php // Display the results $type = 'products'; productDisplay(fetchProducts("products"), $type); ?> <div id=addToCartDisplay> <?php if (isset($_SESSION['custID'])) { $custID = $_SESSION['custID']; } else { $_SESSION['custID'] = ""; } if (!$LinkID) { die('Could not connect: ' . mysql_error()); } //As long as something was sent via POST then...: if (!empty($_POST)) { //Set post variables