Task 1: Language Constructs.
»» Use for-loops in PHP to generate a table containing a multiplication table. Alternate
rows shall be colored using class names (for this exercise CSS 3 selectors are forbidden).
Every cell containing the square of a number ( 1 x 1, 2 x 2, 3 x 3, etc) shall also have distinct
backgrounds. The table shall be appropriately marked up with column and row headers
and a caption. The page must be valid (X)HTML strict or valid (X)HTML5. Repeat the
assignment using while-loops.
The code shall be properly commented and demonstrate different
ways of making comments, including a leading PhpDoc-block. The coding style must be
according to the PEAR convention