|
|
include("shopping2/includes/db.php");
include("shopping2/includes/functions.php");
if($_REQUEST['command']=='add' && $_REQUEST['productid']>0){
$pid=$_REQUEST['productid'];
addtocart($pid,1);
include("fpgfiles/add_msg.php");
//echo "";
//echo "";
exit();
}
?>
$select__product="select products.*,brands.* from products inner join brands on brands.brandid=products.brandid where products.productid='$_GET[Id]'";
$res__product=mysql_query($select__product);
if(!$res__product){
echo mysql_error();
exit;
}
while($row__product=mysql_fetch_array($res__product)){
echo"
| $row__product[product_name] |
|
| | | |