summaryrefslogtreecommitdiff
path: root/sqlbox
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-11-20 15:16:44 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2012-11-20 15:16:44 +0100
commit9d50e1da6601bee2582f76ad850eaba0d5d0b9c0 (patch)
treee3ce520aedaf5113352901b2049b9ffad6f51f73 /sqlbox
parent0db7c312a512a665f343a83cee7aef603551da84 (diff)
downloadsqltutor-plugin-9d50e1da6601bee2582f76ad850eaba0d5d0b9c0.tar.gz
sqltutor-plugin-9d50e1da6601bee2582f76ad850eaba0d5d0b9c0.tar.bz2
sqltutor-plugin-9d50e1da6601bee2582f76ad850eaba0d5d0b9c0.zip
Add input box for sql string.
Diffstat (limited to 'sqlbox')
-rw-r--r--sqlbox/view.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqlbox/view.php b/sqlbox/view.php
index a82e9c8..4580f16 100644
--- a/sqlbox/view.php
+++ b/sqlbox/view.php
@@ -74,5 +74,12 @@ if ($sqlbox->intro) { // Conditions to show the intro can change to look for own
// Replace the following lines with you own code
echo $OUTPUT->heading('Yay! It works!');
+$form = <<EOF
+<input id="sqlstr" type="text" />
+<input type="submit" value="Querry" />
+EOF;
+
+echo $OUTPUT->heading($form);
+
// Finish the page
echo $OUTPUT->footer();