I have a nested array in which I want to display a subset of results. For example, on the array below I want to loop through all the values in nested array[1].
Ar
foreach ($tmpArray as $innerArray) { // Check type if (is_array($innerArray)){ // Scan through inner loop foreach ($innerArray as $value) { echo $value; } }else{ // one, two, three echo $innerArray; } }