PAD - PHP Application Driver


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


TableFun/fun 1 a

PHP
tableFun/fun_1_a.php
HTML
tableFun/fun_1_a.pad
Result
<?php

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

?>
<table border='1'>
{rows}
<tr>
{cols}
{cell}
{/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