I think the problem lies here:
> $qty = $formqty;
> $cart[$new] = $cart[$new] + $qty;
> $cart[$new] = 1;
> $total_price = calculate_price($cart);
> $items = calculate_items($cart);
It seems like you should be adding the $qty on the "else" part and NOT here:
--> $cart[$new] = $cart[$new] + $qty;
However, I just checked the site and it seems like it's working fine.
I'm using Netscape 7, by the way...
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php