Ignore:
Timestamp:
09/19/11 13:30:35 (14 years ago)
Author:
fpvanagthoven
Message:

QuestionCreationDatabaseInterface? setQuestionInfo working. getExistingQuestions not working yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/questioncreation.php

    r104 r107  
    11<?php
    22require 'classes/master.php';
     3
     4$questionDBI = new QuestionCreationDatabaseInterface();
     5
     6/* If a question is saved */
     7if(isset($_POST['questionCode']))
     8{
     9    echo $questionDBI->setQuestionInfo($_POST); // save to DB
     10}
     11
     12$existingQuestions = $questionDBI->getExistingQuestions();
     13var_dump($existingQuestions);
    314
    415?>
Note: See TracChangeset for help on using the changeset viewer.