DEV Community

Rigal Patel
Rigal Patel

Posted on

Search and count value in multidimensional array and make new array based of search value

I have a multidimensional array. I want to search and count values and make an array.


Array
(
    [0] => Array
        (
            [0] => Jon
            [1] => NO
        )

    [1] => Array
        (
            [0] => Andew
            [1] => NO
        )

    [2] => Array
        (
            [0] => Walid
            [1] => YES

Top comments (0)