Listing 2. Invoking ZSQL from within a DTML Document
<dtml-var standard_html_header>
<h2><dtml-var title_or_id></h2>
<dtml-in names-and-phone-numbers>
<hr>
<p>First name: <dtml-var first_name></p>
<p>Last name: <dtml-var last_name></p>
<p>Phone number: <dtml-var phone_number></p>
<dtml-if fax_number>
<p>Fax number: <dtml-var fax_number></p>
</dtml-if fax_number>
<dtml-if cell_number>
<p>Cell number: <dtml-var cell_number></p>
</dtml-if cell_number>
</dtml-in>
<dtml-var standard_html_footer>
Copyright © 1994 - 2018 Linux Journal. All rights reserved.