I am having trouble with my arrays.
$mini_one = array(
"in" => "#pp1",
"ot" => "the-r1",
"fn" => "the_r1()",
"js" => "$('the-r1').val($('#pp1').val());",
"ep" => "not tested"
);
$mini_two = array(
"in" => "#pp1",
"ot" => "the-r1",
"fn" => "the_r1()",
"js" => "$('the-r1').val($('#pp1').val());",
"ep" => "not tested"
);
//these are different but i just c/p it to show more than one array
//inside of $big_array
$big_array = array($mini_one,$mini_two);
but when I test the big_array with is_array() it returns false, it also doesn’t work in my foreach loop.
I would like to know why it is not an array?, how I can make it into a correct array?, and, as it is now, what type of construct it is considered?
You need to paste the exact array for us to see whats going on. i tried using your above code snippet it works.
Your $big_array will be like below