[thelist] PHP Doubling up

Jay Blanchard jay.blanchard at niicommunications.com
Wed Aug 14 08:58:01 CDT 2002


[snip]
Rich are you just saying take out the second $total ?
[/snip]

I think he is saying change this;

$total += $total + ($cart[$item][qty] * $cart[$item][unit_price]);

to this

$total += ($cart[$item][qty] * $cart[$item][unit_price]);

Yep, I should have looked more closely, but this appears it could be the
problem.

Jay





More information about the thelist mailing list