Hi, i am putting together a shopping cart. I got it to show the price, quantity and a total by going
$result=$price * $qty;
echo "<TR><TD>£ $result</TD></TR>";
that gives me the total at the end of the row, but if there are say 3 items in the basket i need it to add the total of the results column up and i am at a loss how to achieve this
so eg.
item qty price total
widget 2 £50 £100
widget2 1 £40 £40
total £XXXX
is what i need.
its probably simple but any help will be apprechiated thanks.