PAD - PHP Application Driver


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


Control/continue

PHP
HTML
control/continue.pad
Result
<table border=1>
{staff}
<tr>
<td> {$name} </td>
<td> {$phone} </td>
</tr>
{/staff}
</table>

<hr>

<table border=1>
{staff}
{if $name eq 'jack'}
{continue}
{/if}
<tr>
<td> {$name} </td>
<td> {$phone} </td>
</tr>
{/staff}
</table>

<hr>

<table border=1>
{staff}
{if $name eq 'jack'}
{continue 'staff'}
{/if}
<tr>
<td> {$name} </td>
<td> {$phone} </td>
</tr>
{/staff}
</table>

<hr>

<table border=1>
{staff}
{if $name eq 'jack'}
{continue -2}
{/if}
<tr>
<td> {$name} </td>
<td> {$phone} </td>
</tr>
{/staff}
</table>
joe 555-1111
jim 555-2222
john 555-3333
jack 555-4444
jerry 555-5555

joe 555-1111
jim 555-2222
john 555-3333
jerry 555-5555

joe 555-1111
jim 555-2222
john 555-3333
jerry 555-5555

joe 555-1111
jim 555-2222
john 555-3333
jerry 555-5555



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

(c) 2003-2025 Herbert Groot Jebbink