Changeset 114 for Dev/trunk/questioncreation.php
- Timestamp:
- 09/19/11 18:04:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/questioncreation.php
r112 r114 1 1 <?php 2 2 require 'classes/master.php'; 3 3 $questionDBI = new QuestionCreationDatabaseInterface(); 4 4 /* If a question is saved */ 5 5 if(isset($_POST['questionCode'])) 6 6 { 7 $questionDBI = new QuestionCreationDatabaseInterface();8 7 echo $questionDBI->setQuestionInfo($_POST); // save to DB 9 8 } 10 9 11 $questions = Loader::load Questions();10 $questions = Loader::loadFullQuestions(); 12 11 var_dump($questions); 13 14 //$dbi = new QuestionCreationDatabaseInterface();15 //$info = $dbi->getQuestionInfo("testcode1");16 17 //var_dump($info);18 19 12 ?> 20 13 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Note: See TracChangeset
for help on using the changeset viewer.