I want to loop through the following array.
array(2) { [0]=> array(6) { [0]=> string(10) \"excel_id \" [1]=> string(12) \"excel_na
try this:
foreach ($main_array as $outer_entry){ foreach($outer_entry as $entity){ print_r($entity); } }