=1){ $prodprice=$rowbas["prodprice"]; $prodtotalamount=$qty * $prodprice; $qryupd=mysql_query("update temp_orders_detail set prodqty=\"".$qty."\",prodtotalamount=\"".$prodtotalamount."\" where sessionid=\"".$_SESSION["sessionid"]."\" and cid=\"".$_SESSION["sessioncid"]."\" and prodid=\"".$rowbas["prodid"]."\"") or die("Error: ".mysql_error()); } } $basmsg="
Basket successfully updated.
"; } $qrypage=mysql_query("select * from sitepages where pageid=\"1\"") or die("Error : ".mysql_error()); $rowpage=mysql_fetch_array($qrypage); ?>
VIEW BASKET
=1) { $grandtotal=0; while ($rowbasket=mysql_fetch_array($qrybasket)){ $grandtotal+=$rowbasket["prodtotalamount"]; ?>
ProductPriceQuantityTotal
Grand Total 
Basket is Empty