diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-21 07:09:51 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-21 07:09:51 +0100 |
commit | 731c82ea796e95d6c717deaad4bd164dba65ad6f (patch) | |
tree | 07e674b61105e5b4b5c682ac1fbd7ed53835612c /sqlbox/view.php | |
parent | db77666426e101c2bb374947af6193570b564e10 (diff) | |
download | sqltutor-plugin-731c82ea796e95d6c717deaad4bd164dba65ad6f.tar.gz sqltutor-plugin-731c82ea796e95d6c717deaad4bd164dba65ad6f.tar.bz2 sqltutor-plugin-731c82ea796e95d6c717deaad4bd164dba65ad6f.zip |
Add raw data output.
Diffstat (limited to 'sqlbox/view.php')
-rw-r--r-- | sqlbox/view.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sqlbox/view.php b/sqlbox/view.php index 96c3e36..123c21f 100644 --- a/sqlbox/view.php +++ b/sqlbox/view.php @@ -78,5 +78,10 @@ echo $OUTPUT->heading('Yay! It works!'); $form = new mod_sqlbox_form(NULL, array()); $form->display(); +$data = $form->get_data(); + +if ($data) + print_r($data); + // Finish the page echo $OUTPUT->footer(); |