So I'm having a problem creating the table with "names". I only got two results instead of 4. Here is my multidimensional array:

```
Array
(
    [0] => Array
        (
            [start] => 1
            [name] => Test_name_1
        )

    [1] => Array
        (
            [start] => 6
            [name] => Test_name_2
        )

    [2] => Array
        (
            [start] => 22
            [name] => Test_name_3
        )

    [3] => Array
        (
            [start] => 23
            [name] => Test_name_4
        )

)

```

Then I want to create table with `$i=1;` and until 47. So my code here is:

```php
$i=1;
while ($i<=47){
 foreach($array as $test){
    echo '<tr>';      

    if ($test['start']==$i){
      echo '<td align="center" style="border-top: 1px solid black;"><b>'.$test['name'].'</b> </td>';
    }else{
      echo '<td align="center" style="border-top: 1px solid black;">blank </td>';
    }
    echo '<td align="center" style="border-top: 1px solid black;">'.$i.' </td>';
    $i++;
    echo '<tr>';
  };

}

```

The result I receive only displays 2 names instead of 4 in the array:

[![my table](https://i.stack.imgur.com/s22LX.jpg)](https://i.stack.imgur.com/s22LX.jpg)

Why are **Test\_name\_3** and **Test\_name\_4** excluded from my result?