PAD - PHP Application Driver


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


Start end

The @start@ & @end@ constructs limits the occurce content of a tag to the content between those 2 constructs

HTML RESULT
{data 'myArray'}
[1,2,3]
{/data}
{myArray}

<table border="1">
<tr> <td> Before the first occurrence </td> </tr>

@start@
<tr> <td> For every occurence </td> </tr>
@end@

<tr> <td> After the last occurrence </td> </tr>
</table>

{/myArray}
Before the first occurrence
For every occurence
For every occurence
For every occurence
After the last occurrence
{data 'myArray'}
[]
{/data}
{myArray}

<table border="1">
<tr> <td> Before the first occurrence </td> </tr>
@start@
<tr> <td> For every occurence </td> </tr>
@end@
<tr> <td> After the last occurrence </td> </tr>
</table>

@else@

<p> No occurences at all </p>

{/myArray}

No occurences at all


Basic Concepts

  

Advanced concepts

  

Constructs

Miscellaneous




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

(c) 2003-2025 Herbert Groot Jebbink