[thelist] [PHP] PHP5 and the use of += ?

Lee Kowalkowski lee.kowalkowski at googlemail.com
Tue Aug 19 05:21:53 CDT 2008

On 19/08/2008, kasimir-k <kasimir.k.lists at gmail.com> wrote:
> Tris scribeva in 2008-08-19 12:40:
> It would help a lot to see the code in the loop. I've got a hunch that
> it's not the
> $finalPrice += $itemPrice;
> which is causing the problem, but before that line $itemPrice gets a
> wrong value. Could you check the value of $itemPrice before you add it
> to the $finalPrice?

Yes, like $itemPrice += $finalPrice or something.


More information about the thelist mailing list