Roxen.git / server / modules / tags / sqltag.pike

version» Context lines:

Roxen.git/server/modules/tags/sqltag.pike:1:   /* -  * $Id: sqltag.pike,v 1.6 1997/09/05 16:57:07 grubba Exp $ +  * $Id: sqltag.pike,v 1.7 1997/09/07 16:42:59 grubba Exp $    *    * A module for Roxen Challenger, which gives the tags    * <SQLQUERY> and <SQLOUTPUT>.    *    * Henrik Grubbström 1997-01-12    */    - constant cvs_version="$Id: sqltag.pike,v 1.6 1997/09/05 16:57:07 grubba Exp $"; + constant cvs_version="$Id: sqltag.pike,v 1.7 1997/09/07 16:42:59 grubba Exp $";   constant thread_safe=1;   #include <module.h>      inherit "module";   inherit "roxenlib";      import Array;   import Sql;      /*
Roxen.git/server/modules/tags/sqltag.pike:30:    "Usage:<ul>\n"    "<table border=0>\n"    "<tr><td valign=top><b>&lt;sqloutput&gt;</b></td>"    "<td>Executes an SQL-query, and "    "replaces #-quoted fieldnames with the results. # is "    "quoted as ##. The content inbetween &lt;sqloutput&gt; and "    "&lt;/sqloutput&gt; is repeated once for every row in the "    "result.</td></tr>\n"    "<tr><td valign=top><b>&lt;sqlquery&gt;</b></td>\n"    "<td>Executes an SQL-query, but " -  "doesn't do anything with the result. This is usefull if " +  "doesn't do anything with the result. This is useful if "    "you do queries like INSERT and CREATE.</td></tr>\n"    "<tr><td valign=top><b>&lt;sqltable&gt;</td>"    "<td>Executes an SQL-query, and makes "    "an HTML-table from the result.</td></tr>\n"    "</table></ul>\n"    "The following attributes are used by the above tags:<ul>\n"    "<table border=0>\n"    "<tr><td valign=top><b>query</b></td>"    "<td>The actual SQL-query. (<b>REQUIERED</b>)</td></tr>\n"    "<tr><td valign=top><b>host<b></td>"