Hi All, Im having a headache trying to sort this out... I have my array which is created each time a user adds an item to my basket, this all works fine. The problem im having is that when the user adds the item to the cart they have the option of selecting '0' as the quantity which in effect removes it from the basket.
for example at position 0 on the array below the customer has product 222222, the customer has ordered 6. $array[0][0] = 222222 $array[0][1] = 6 If the customer inputs the value 0 into quantity the array looks like this: $array[0][0] = 222222 $array[0][1] = 0 The question is who can i filter the array removing any values that have 0 in [x][1], i would also need to re-order the array from 0 to 'n'. Hope that all makes sence.... And before you ask i have looked everywhere at the manual (i got even more lost) Regards R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php