I have a complex 'structure' built from arrays. One element is:
$nav_bar[$i]['item'][$j]['display'] == 'Home'
I also have a simple array $auth_func where:
$auth_func['Home'] == 'Home'
I need to check if the element from the structure is in the simple assoc array. I would like to do the following, but it does not work.
if (isset($auth_func[$nav_bar[$i]['item'][$j]['display']])) {
blah;
}
Is there a way to use the array notation as the insex into another assoc array?
This is driving me nuts!
Thanks.