<html>
<head>
<title>Database tags</title>
<meta name="keywords" content="">
</head>

<body bgcolor=#113377 text=#000000 vlink=#551a8b alink=#00c0ff link=#0000ee>




















































<table width=100% border=0>
<tr>
  <td valign=top>
  <table width=100% cellpadding=5 cellspacing=0 border=0>
    <tr><td bgcolor="#ffffff" align=center>
       <img height=40 alt="" src="../../img/logga.gif" border=0 width=102>
    </td></tr>
    <tr><td valign=top>
      <img src=internal-roxen-unit width=1 height=3 alt="">
    </td></tr>
    <tr valign=top>
      <td bgcolor="#ffffff">




        <table cellpadding=0 cellspacing=0 border=0>
          
       <!--a1  Introduction manual.tmpl-->
    
            <tr><td><a href="../introduction/index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="../introduction/index.html">Introduction</a></td>
	    </tr>
    
          
       <!--a1  Publishing web pages manual.tmpl-->
    
            <tr><td><a href="../publishing/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../publishing/index.html">Publishing web pages</a></td>
	    </tr>
    
          
       <!--a1  RXML manual.tmpl-->
    
            <tr><td><a href="../rxml/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../rxml/index.html">RXML</a></td>
	    </tr>
    
          
       <!--a1  Information tags manual.tmpl-->
    
            <tr><td><a href="../information/index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="../information/index.html">Information tags</a></td>
	    </tr>
    
          
       <!--a1  String tags manual.tmpl-->
    
            <tr><td><a href="../string/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../string/index.html">String tags</a></td>
	    </tr>
    
          
       <!--a1  Variable tags manual.tmpl-->
    
            <tr><td><a href="../variable/index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="../variable/index.html">Variable tags</a></td>
	    </tr>
    
          
       <!--a1  URL tags manual.tmpl-->
    
            <tr><td><a href="../url/index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="../url/index.html">URL tags</a></td>
	    </tr>
    
          
       <!--a1  If tags manual.tmpl-->
    
            <tr><td><a href="../if/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../if/index.html">If tags</a></td>
	    </tr>
    
          
       <!--a1  Graphics tags manual.tmpl-->
    
            <tr><td><a href="../graphics/index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="../graphics/index.html">Graphics tags</a></td>
	    </tr>
    
          
       <!--a1  Database tags manual.tmpl-->
    
            <tr><td><a href="index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="index.html"><b>Database tags</b></a></td>
	    </tr>
    
          
	</table>
	
        <table cellpadding=0 cellspacing=0 border=0>
	  
      <!--b1  -->
    
	    <tr><td>&nbsp;&nbsp;<a href="sqlquery.html"><img src="../../img/page.gif" border=0></a>&nbsp;</td>
	      <td><a href="sqlquery.html">&lt;sqlquery&gt;</a></td>
	    </tr>
    
	  
      <!--b1  -->
    
	    <tr><td>&nbsp;&nbsp;<a href="sqltable.html"><img src="../../img/page.gif" border=0></a>&nbsp;</td>
	      <td><a href="sqltable.html">&lt;sqltable&gt;</a></td>
	    </tr>
    
	  
      <!--b1  -->
    
	    <tr><td>&nbsp;&nbsp;<a href="sqloutput.html"><img border=0 src="../../img/page.gif"></a>&nbsp;</td>
	      <td><a href="sqloutput.html">&lt;sqloutput&gt;</a></td>
	    </tr>
    
	  
        </table>

        <table cellpadding=0 cellspacing=0 border=0>
          
      <!--c1  -->
    
            <tr><td><a href="../ldap/index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="../ldap/index.html">LDAP</a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../programming/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../programming/index.html">Programming tags</a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../ssi/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../ssi/index.html">SSI tags</a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../image_maps/index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="../image_maps/index.html">Image maps</a></td>
	    </tr>
    
          
      <!--c1 intraseek -->
    
      <!--c2 intraseek -->
           
    
          
      <!--c1 logview -->
    
      <!--c2 logview -->
           
    
          
      <!--c1 platform -->
    
      <!--c2 platform -->
           
    
          
      <!--c1 platform -->
    
      <!--c2 platform -->
           
    
          
      <!--c1 platform -->
    
      <!--c2 platform -->
           
    
          
      <!--c1  -->
    
            <tr><td><a href="../supports/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../supports/index.html">Supports system</a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../security/index.html"><img src="../../img/chapter.gif" border=0></a>&nbsp;</td>
	      <td><a href="../security/index.html">Security</a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../appendix/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../appendix/index.html">Appendix</a></td>
	    </tr>
    
          
	</table>

      </td>
    </tr>
    <tr><td height=100%>&nbsp;</td></tr>
  </table>
  </td>
  <td>
    <img src=internal-roxen-unit width=3 height=1 alt="">
  </td>

  <td valign=top>
    <table cellspacing=0 cellpadding=5 width=100% height=100% border=0>
    <tr>
      <td bgcolor="#ffffff">
       <b><font size=+2>Database tags</font></b>

	<p>The database tags interact with SQL databases. They can be used to
create interactive graphical reports as well as complete web
applications.

<p>The database tags are almost always combined with other RXML tags.
Together with the <tt>&lt;diagram&gt;</tt> tag they provide real-time
diagrams, with the <tt>&lt;tablify&gt;</tt> tag they provide nice looking
tables. Combined with the <tt>&lt;wizard&gt;</tt> tag they make easy-to-use
web applications.

<p>Each database tag needs to know which database it should connect
to. This is specified by the <i>host</i>-attribute which usually
is a symbolic name for the database that the administrator has
configured in the <i>SQL databases</i> module. It is also
possible to specify the database host, user and password directly in
the tags, but this is not recommended. See the <a href="index.html">Database
chapter</a> in the Administrator's manual for the syntax.

<p>The database tags are:

<dl>


<dt><b><a href=sqlquery.html>&lt;sqlquery&gt;</a></b><dd>

Executes an SQL query.

<p>

<dt><b><a href=sqltable.html>&lt;sqltable&gt;</a></b><dd>

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

<p>

<dt><b><a href=sqloutput.html>&lt;sqloutput&gt;</a></b><dd>

Insert the results of
an SQL query into HTML or RXML code.
</dl>


      </td>
    </tr>
    </table>
  </td>
</tr>
<tr>
</table>
</body>
</html>
