diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-20 15:16:44 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-20 15:16:44 +0100 |
commit | 9d50e1da6601bee2582f76ad850eaba0d5d0b9c0 (patch) | |
tree | e3ce520aedaf5113352901b2049b9ffad6f51f73 /sqlbox/view.php | |
parent | 0db7c312a512a665f343a83cee7aef603551da84 (diff) | |
download | sqltutor-plugin-9d50e1da6601bee2582f76ad850eaba0d5d0b9c0.tar.gz sqltutor-plugin-9d50e1da6601bee2582f76ad850eaba0d5d0b9c0.tar.bz2 sqltutor-plugin-9d50e1da6601bee2582f76ad850eaba0d5d0b9c0.zip |
Add input box for sql string.
Diffstat (limited to 'sqlbox/view.php')
-rw-r--r-- | sqlbox/view.php | 7 |
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(); |