PHP Taskbook Level 6.2
Given variables:
<?php
$rows = 4;
$cols = 3;
?>
Upon entering the page, generate an HTML table, the number of rows and columns will be taken from the variables above.
Upon entering the page, generate an HTML table with a given number of rows and columns so that the cells contain their ordinal numbers.
Upon entering the page, generate an HTML table with a given number of rows and columns so that the cells contain the numbers of their rows and columns.
Given an array:
[
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
]
When you enter the page, create a table filled with data from this array.