I just tried to develop a small e-commerce site, i used database to store the shopping information for a paticular customer... BUt i need to calculate the total price order a that particular time.
i was able to fetch the particular product but need to calculate the total cost can anyone help me out.
$sql=$cc->query("SELECT * FROM temp_order where uname='$uname' ");
Total:(??);//need to get the total here.