Ignore:
Timestamp:
09/19/11 18:04:48 (14 years ago)
Author:
fpvanagthoven
Message:

questions get loaded in fully

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/questioncreation.php

    r112 r114  
    11<?php
    22require 'classes/master.php';
    3 
     3$questionDBI = new QuestionCreationDatabaseInterface();
    44/* If a question is saved */
    55if(isset($_POST['questionCode']))
    66{
    7     $questionDBI = new QuestionCreationDatabaseInterface();
    87    echo $questionDBI->setQuestionInfo($_POST); // save to DB
    98}
    109
    11 $questions = Loader::loadQuestions();
     10$questions = Loader::loadFullQuestions();
    1211var_dump($questions);
    13 
    14 //$dbi = new QuestionCreationDatabaseInterface();
    15 //$info = $dbi->getQuestionInfo("testcode1");
    16 
    17 //var_dump($info);
    18 
    1912?>
    2013<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Note: See TracChangeset for help on using the changeset viewer.