PAD - PHP Application Driver


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


Db/check2

PHP
HTML
db/check2.pad
Result
<h3>check, found</h3>

{check "staff where name = 'jim'"}
<p>Jim works here</p>
@else@
<p>Jim does not work here</p>
{/check}

<h3>check, not found</h3>

{check "staff where name = 'john'"}
<p>John works here</p>
@else@
<p>John does not work here</p>
{/check}

check, found

Jim works here

check, not found

John does not work here




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

(c) 2003-2025 Herbert Groot Jebbink