-3

How can I foreach loop this array: Array ( [0] => Array ( [stage_level_idstage_level] => 1 ) [1] => Array ( [stage_level_idstage_level] => 2 ) )

I've tried some things but it wont work..

Wai Ha Lee
  • 8,598
  • 83
  • 57
  • 92
  • what is your intended result? & what have you tried? – Daryl Gill Jan 24 '22 at 17:09
  • 1
    Does this answer your question? [php foreach with multidimensional array](https://stackoverflow.com/questions/6413589/php-foreach-with-multidimensional-array) – adampweb Jan 24 '22 at 17:17
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Feb 02 '22 at 14:40

1 Answers1

0
<?php

foreach($arrayName as $arr)
{
  foreach($arr as $item){
          .......
  }
}

?>
Escanor
  • 95
  • 3
  • 9