create array of while loop data php code example
Example: php while loop array
$foodArray = ["Eggs", "Bacon", "HashBrowns", "Beans", "Bread"];
foreach ($foodArray as $food) {
echo $food ."<br />";
}
$foodArray = ["Eggs", "Bacon", "HashBrowns", "Beans", "Bread"];
foreach ($foodArray as $food) {
echo $food ."<br />";
}