<? links_of("All table contents",$quey_all,$limits) ?>
</ul>
</p>
- <h2>Custom Query</h2>
+ <h2>Custom Query - Simple Interface</h2>
<form action="composequery.php" method="get">
<table>
<tr>
</tr>
</table>
</form>
+<h2>Custom Query - raw SQL</h2>
+<form action="showquery.php" method="get">
+<table>
+<tr><td>'bench' table description:</td></tr>
+</tr>
+<? query("describe bench","printer"); ?>
+</tr>
+<tr><td></td></tr>
+<tr><td>SQL (only one query, ';' if present must terminate the query, no characters allowed after it):</td></tr>
+<tr><td>
+<textarea rows="10" cols="80" name="query"/>select SUM(time) from bench;</textarea>
+</td>
+</tr>
+<tr><td>
+<input type="submit" value="Submit" class="button" /></td>
+</tr>
+</table>
+</form>
+
</body>
</html>