I have a two-dimensional array that looks like this:

array(
        array(0, 123),
        array(0, 234),
        array(0, 345),
        array(0, 456)
)

I want to REMOVE any element that contains 234, and I want to INCREMENT the first value for any element that contains 345, to make it look like this:

array(
        array(0, 123),
        array(1, 345),
        array(0, 456)
)

A pint of cachaça to he who sets me on the path to success.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to