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.
Moderator: General Moderators
Code: Select all
$_SESSION['selectedStageQuestions'][$key][$stage][]=$value;
Code: Select all
in_array($searchingFor, $_SESSION['selectedStageQuestions'][$key][$stage])