PAD - PHP Application Driver


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


Staff/index

PHP
HTML
staff/index.pad
Result
<p>In the _data directory there is the file staff.xml, it is often used in this manual.

<p>{example 'staff/staff1', skipHeader, skipPhp, skipResult}

<p>Files placed in the _data directory can be used as a PAD tag.

<p>{example 'staff/staff2', skipHeader, skipPhp}

In the _data directory there is the file staff.xml, it is often used in this manual.

<xml>
<row name="joe" salary="1000" bonus="500" phone="555-1111" />
<row name="jim" salary="2000" bonus="400" phone="555-2222" />
<row name="john" salary="3000" bonus="300" phone="555-3333" />
<row name="jack" salary="4000" bonus="200" phone="555-4444" />
<row name="jerry" salary="5000" bonus="100" phone="555-5555" />
</xml>

Files placed in the _data directory can be used as a PAD tag.

<table border=1>
{staff}
<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




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

(c) 2003-2025 Herbert Groot Jebbink