PAD - PHP Application Driver


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


Vars/at/6

HTML RESULT
<table border=1>
{staff}
{first@staff}
<tr>
{fields@staff}
<th> {$name} </th>
{/fields@staff}
</tr>
{/first@staff}
<tr>
{fields@staff}
<td> {$value} </td>
{/fields@staff}
</tr>
{/staff}
</table>
name salary bonus phone
joe 1000 500 555-1111
jim 2000 400 555-2222
john 3000 300 555-3333
jack 4000 200 555-4444
jerry 5000 100 555-5555
<table border=1>
{staff}
{true}
{first@-2}
<tr>
{fields@-3}
<th> {$name} </th>
{/fields@-3}
</tr>
{/first@-2}
<tr>
{fields@-2}
<td> {$value} </td>
{/fields@-2}
</tr>
{/true}
{/staff}
</table>
<table border=1>
{staff}
{first@3}
<tr>
{fields@3}
<th> {$name} </th>
{/fields@3}
</tr>
{/first@3}
<tr>
{fields@3}
<td> {$value} </td>
{/fields@3}
</tr>
{/staff}
</table>

<p>Level 3 because this part is wrapped in the {tag 'table'} and {tag 'demo'} tags
name salary bonus phone
joe 1000 500 555-1111
jim 2000 400 555-2222
john 3000 300 555-3333
jack 4000 200 555-4444
jerry 5000 100 555-5555

Level 3 because this part is wrapped in the {table} and {demo} tags




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

(c) 2003-2025 Herbert Groot Jebbink