PHP Challenge 3 - Create a Multiplication Grid

As a developer you will be using loops regularly. This challenge requires you to use nested loops to produce a multiplication grid and then use some basic styling to identify square numbers.

Your task is to produce the following mulitplication grid:

Multiplication Grid

Notice that the square numbers have been highlighted in yellow.

Would you like the solution to this challenge?

The full video solution together with downloadable code is available in the PHP for Beginners course.

This course is taught by Patrick Morrow, a national award-winning teacher, who is very active in the course and who provides full support.

To enrol in the course click here.


Your email address will not be published.

PHP for Beginners

Would you like lifetime access to the hugely successful PHP for Beginners course? Click here to find out how.

FREE Code Snippets

FREE hints and tips delivered direct to you once per month.