7 header(
'Content-type: text/html');
14 if(strlen(
$_GET[
'rows']) > 0) {
19 if(strlen(
$_GET[
'cols']) > 0) {
28 $markup =
"<table><thead><tr>";
32 $markup = $markup.
"<th>header ".
$i.
"</th>";
34 $markup = $markup.
"</tr></thead><tbody>";
37 for($j=0; $j<
$rows; $j++) {
38 $markup = $markup.
"<tr>";
40 $markup = $markup.
"<td>data cell ".$j.
"-".
$i.
"</td>";
42 $markup = $markup.
"</tr>";
45 $markup = $markup.
"</tbody></table>";
Add a drawing to the header
returnMarkup($rows, $cols)