Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 353 Bytes

loops.md

File metadata and controls

16 lines (9 loc) · 353 Bytes

Loops

Question 1

List three common types of PHP loops

Question 2

Create an array with the following cities: Tokyo, Mexico City, New York City, Mumbai, Seoul, Shanghai, Lagos, Buenos Aires, Cairo, London.

Using a loop to iterate over the array. print the values to the browser in an unordered list, again using a loop.