diff --git a/txt.php b/txt.php new file mode 100644 index 0000000..0be3719 --- /dev/null +++ b/txt.php @@ -0,0 +1,18 @@ +get_questions() as $q) +{ + if (!empty($filter) && strtolower($q->getCourse()->getCode()) != $filter) + continue; + + $a = $q->getAnswer(); + echo $q->getQuestion()."\n > ".$a[0]."\n\n"; +} +?> \ No newline at end of file