Hello,

I think the problem lies here:

>     $qty = $formqty;
>  if($cart[$new])
>       //$cart[$new]++;
>    $cart[$new] = $cart[$new] + $qty;
>     else
>       $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...

- E


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to