6 function generate_results()
10 for ($i = 1; $i <= $nr_max_table; $i++
) {
11 for ($j = 0; $j <= 10; $j++
) {
13 $results[$i] .= "$i * $j = $res<br/>\n";
20 echo("<table border=\"1\" cellpadding=\"10\">\n");
23 $results = generate_results();
24 for ($i = 1; $i <= $nr_max_table; $i++
) {
29 // Brakes the table in the middle
30 if ($i == ($nr_max_table / 2))
31 echo("</tr>\n<tr>\n");