[Solved] Associative array index as variable
[ad_1] Try foreach ($array1 as $index => $arr1) {…} foreach ($array1 as $key1 => $val1 ) { foreach ($array2 as $key2 => $val2) { echo $arr2[$arr2[$key1][$key2]]; } } 0 [ad_2] solved Associative array index as variable