I am pulling some products out of my database (doing some other things to
it), but basically making a big array.

Now, if I want to set my quantity to zero, and remove every instance where 
the $iID is, i should be able to do :

      if($cart[num_items] == "0") {
       } else {

If I have one product in the array, it works fine.  If I have two products in the 
it does nothing (except decrements my number of items in the cart).

Could anyone show me another solution to this problem?

thanks so much

Reply via email to