include "header.php";
$item=query("select items.*, categories.name as catname, categories.percent_off from items inner join categories using (category_id) where item_id=$item_id");
$subquery="select * from sub_items where item_id=$item_id";
$subitems=mysql_query($subquery) or die($subquery);
$onesub=false;
if (mysql_num_rows($subitems)=="1"){
$onesub=true;
$subitem=mysql_fetch_array($subitems, MYSQL_ASSOC);
}
?>
|
|
if ($item[image_name]){?>
} ?>
if ($item[percent_off])
echo "Sale! $item[percent_off]% Off! Add to your cart for discount! ";
?>
=$item[name]?>
=$item[description]?>
$item[tagline]
";?>
Return to Product List
|
|
|
$catselect=$item[category_id];
?>
include "footer.php"; ?>