From 731c82ea796e95d6c717deaad4bd164dba65ad6f Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Wed, 21 Nov 2012 07:09:51 +0100 Subject: Add raw data output. --- sqlbox/view.php | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- cgit