Introduction
  Publishing web pages
  RXML
  Information tags
  String tags
  Variable tags
  URL tags
  If tags
  Graphics tags
  Database tags
    <sqlquery>
    <sqltable>
    <sqloutput>
  LDAP
  Programming tags
  SSI tags
  Image maps
  IntraSeek
  LogView
  Templates
  Navigation
  SiteBuilder tags
  Supports system
  Security
  Appendix
 
<sqltable> SQL

 

Creates an HTML or ASCII table from the results of an SQL query.

 

Attributes

ascii
Create an ASCII table rather than a HTML table. Useful for interacting with the <diagram> and <tablify> tags.

host=database
Which database to connect to, usually a symbolic name. If omitted the default database will be used.

query
The actual SQL-query.

quiet
Do not show any errors in the page, in case the query fails.

parse
If specified, the query will be parsed by the RXML parser. Useful if you wish to dynamically build the query.

 

Example


<tablify preparse nice>Country	Population
<sqltable ascii host=test query="SELECT country, population FROM
countries ORDER BY country">
</tablify>

Country   Population