|
home | manual | reference | regression | sequence | develop | apps |
Db/record
PHP
db/record.phpHTML
db/record.padResult <?php
$record_1 = db ("record * from staff where name = 'jim'");
$record_2 = db ("record * from staff where name = 'john'");
?><h3>record, found</h3>
{record_1}
<p>Jim's phone number is {$phone},<br>
his salary is {$salary}</p>
@else@
<p>Jim does not work here</p>
{/record_1}
<h3>record, not found</h3>
{record_2}
<p>John's phone number is {$phone},<br>
his salary is {$salary}</p>
@else@
<p>John does not work here</p>
{/record_2}record, found
Jim's phone number is 555-4364,
his salary is 2000.00record, not found
John does not work here
|
home | manual | reference | regression | sequence | develop | apps |
(c) 2003-2025 Herbert Groot Jebbink