Searching nested array
Posted: Fri Apr 11, 2008 5:43 am
Hi,
I have been able to add to my array using the following method:
Now what I want to be able to do is search the third nested array (shown above).
How would I use in_array() or other function to search that third array?
Thanks.
I have been able to add to my array using the following method:
Code: Select all
$_SESSION['selectedStageQuestions'][$key][$stage][]=$value;
How would I use in_array() or other function to search that third array?
Thanks.