"; mysql_select_db("66_simplycurt") or die(mysql_error()); //echo "Connected to Database"; require('cartbar.php'); echo"
"; require('nav.php'); echo"

girls: layers

"; require('refine.php'); echo"
"; $sql = "SELECT id, name, price, category, gender, description, outfit, special, img1 FROM garment WHERE gender!='boy' AND special='layers'"; $query = mysql_query($sql) or die(mysql_error()); $row_sql = mysql_fetch_assoc($query); $total = mysql_num_rows($query); if($total > 0){ while($row_sql = mysql_fetch_assoc($query)){ $product_id = $row_sql['id']; echo" "; } } else{ echo"No results to display"; } /*while $sql = "SELECT DISTINCT name, price, category, gender, description, outfit, special, img1 FROM garment"; $query = mysql_query($sql) or die(mysql_error()); ($row_sql = mysql_fetch_assoc($query)){ echo"
".$row_sql['img1']."
$".$row_sql['price']."
+cart

".$row_sql['name']."

Sizes: 2T to 16
"; }*/ echo"
"; require('footer.php'); ?>