Answers for "get value in array using while loop php"

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