In PHP
Loops are very useful in creating lists and tables. In this PHP
exercise, you will use a loop to create a list of equations for
squares.
Using a for loop, write a script that will send to the browser a
list of squares for the numbers 1-12.
Use the format, "1 *
1 = 1, 2 * 2 = 4",
and be sure to include code to print each formula on a different
line.
SHOW THE CODE AND OUTPUT
In PHP Loops are very useful in creating lists and tables. In this PHP exercise, you will use a loop to create a list of
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
In PHP Loops are very useful in creating lists and tables. In this PHP exercise, you will use a loop to create a list of
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!