Answer the question
In order to leave comments, you need to log in
How to search a multidimensional array?
I have a multidimensional array:
array(2) {
["one"]=>
array(2) {
["a"]=>
string(1) "z"
["b"]=>
string(1) "y"
}
["two"]=>
array(2) {
["z"]=>
string(1) "a"
["name"]=>
string(10) "banny_boom"
}
}
Answer the question
In order to leave comments, you need to log in
php.net/manual/en/class.recursiveiteratoriterator.php and then one forich.
or a recursive function based on array_search.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question