Answers for "php array in while loop"

PHP
2

php while loop array

$foodArray = ["Eggs", "Bacon", "HashBrowns", "Beans", "Bread"];

        foreach ($foodArray as $food)  {
            echo $food ."<br />";
        }
Posted by: Guest on March-07-2021

Browse Popular Code Answers by Language