]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/scripts/public_html/bench.php
added raw query form
[helm.git] / helm / software / matita / scripts / public_html / bench.php
index f11994ec158f9b068425232b583d3dbdf32e3279..4d45173badde6e9f77ecde9d4b9cf724d95da4db 100644 (file)
@@ -91,7 +91,7 @@ function links_of($name,$q,$limits){
       <? 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>
@@ -163,5 +163,20 @@ function links_of($name,$q,$limits){
   </tr>
  </table>
 </form>
+<h2>Custom Query - raw SQL</h2>
+<form action="showquery.php" method="get">
+<table>
+</tr>
+<? query("describe bench","printer"); ?>
+</tr>
+<tr><td>
+<input type="text" size="50" name="query" value="select * from bench;"/></td>
+</tr>
+<tr><td>
+<input type="submit" value="Submit" class="button" /></td>
+</tr>
+</table>
+</form>
+
 </body>
 </html>