of
                  
                  
                  $Array = array(1,34,32,2,4)
                  
                  
                  Ok? the second one is old.
                  
                  
                  
                  
                  
                  <?php
                  
                  
                  // Init
                  
                  
                  $arrays = [
                  
                  
                  [1, 34, 32 , 2, 4],
                  
                  
                  [3, 32, 13 , 11, 89],
                  
                  
                  [56, 11, 7 , 9, 95],
                  
                  
                  [14, 90, 333 , 23, 1],
                  
                  
                  [5, 33, 54 , 23, 41],
                  
                  
                  ];
                  
                  
                  
                  
                  
                  for ($i = 0; $i < count($arrays); $i++){
                  
                  
                  for ($l = 0 ; $l < count($arrays[$i]); $l++){
                  
                  
                  print $arrays[$i][$l];
                  
                  
                  }
                  
                  
                  print "<br />";
                  
                  
                  }
                  
                  
                  
                  
                  
                  as @LKD70 said .
                  
                  
                  
                  
                  
                  but the formula is 
                  
                  
                  the second "loop" always print items in one line and the first "loop" always shows count of lines. if you want understand completely please try "pyramid" like this :
                  
                  
                  
                  
                  
                  
                  
                  
                  *****
                  
                  
                  ****
                  
                  
                  ***
                  
                  
                  **
                  
                  
                  *
                  
                  
                  
                  
                  
                  or
                  
                  
                  
                  
                  
                  *
                  
                  
                  **
                  
                  
                  ***
                  
                  
                  ****
                  
                  
                  *****
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  Can someone assist pls
                  
                  
                
As for this... An example to play with and work out: <?php $height = 10; for($i = 0; $i < $height; $i++){ for($x = 0; $x < $i; $x++) echo "*"; echo "<br>"; }
Обсуждают сегодня