PAD - PHP Application Driver


home | manual | reference | regression | sequence | develop | apps


Lvl occ/4

PHP
lvl_occ/4.php
HTML
lvl_occ/4.pad
Result
<?php

for ($row = 1; $row <= 3; $row++)
for (
$col = 1; $col <= 5; $col++)
$rows [$row] ['cols'] [$col] = TRUE;

?>
<table border='1'>
{rows}
<tr>
{cols}
<td>{echo (&rows:key*10) + &cols:key}</td>
{/cols}
</tr>
{/rows}
</table>
11 12 13 14 15
21 22 23 24 25
31 32 33 34 35



home | manual | reference | regression | sequence | develop | apps

(c) 2003-2025 Herbert Groot Jebbink