find the total values get in a variable in php
Posted
by Hmwd
on Stack Overflow
See other posts from Stack Overflow
or by Hmwd
Published on 2010-04-02T05:05:13Z
Indexed on
2010/04/02
5:13 UTC
Read the original article
Hit count: 161
php
hi, i am doing a shopping cart.i had a variable $total.when i add 1st product of price 200 i get $total=200 , when i add 2nd product of price 100 i get $total=200100 when i add 3rd product of price 400 i get $total=200100400 . i want to get $total=700. how to fix this problem? please help me........
thanks,
Hmwd
© Stack Overflow or respective owner