Watch the video
PHP: For Loop
- Special considerations: (Assume X is the value in textbox).
- When the "Display Results" command button is pressed, your program should display:
- A) Numbers in increasing order from 1 to X.
- B) Numbers in decreasing order from X downto 1.
- C) Even numbers between 2 and X.
- D) A square of asterisks with X rows and columns.
- E) A multiplication table showing the number 1 to X.
- Upload your work to your YOUR-CLASS-WEBSITE.