There is a multidimensional array, the output values through foreach
foreach ($arr as $value) { echo "<td>Значение: $value</td>\n"; }
As you already understand, the result is displayed in the form of a table:
Pie Bread Spoons Pepper Dill Pie Bread Fork Pepper Dill Patty Bread Knife Pepper Dill Pie Bun Corkscrew Pepper Dill
Perhaps not pokasyvat arrays in foreach, in which there is a value, such as bread?
if (!in_array('Хлеб', $array)) {...
and everything ..... php.net/manual/ru/function.in-array.php - Alexey Shimansky