DEV Community

Rigal Patel
Rigal Patel

Posted on

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

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] =&gt; YES</code></pre>…
</p>



?signin=true

Top comments (0)