i have php session script with a variable '$price'
everytime the script executes a different value is stored in this variable eg. '25.00' then '35.00' then '100.00' and so on..
what i want to do is take the value stored in $price and then when a new value is assigned to $price
i want to add the old value to the new one to make $totalprice and so on over and over...so everytime
the script executes new values get assigned to $price but $totalprice adds up each value.
i just cant get my brain round this but i am sure the solution is simple..
Cheerz
Hargs