/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to DuggaSys/quizAjax/getQuiz.php

  • Committer: gustav.hartvigsson at gmail
  • Date: 2013-04-04 06:42:25 UTC
  • mfrom: (4.7.13 GammaBear)
  • Revision ID: gustav.hartvigsson@gmail.com-20130404064225-jxssrfawo202of2s
fixed a few conflicts, removes some files to do so among other things.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
17
17
//header('Content-type: application/json');
18
18
header('Content-type: application/json; charset=utf-8'); 
19
 
 
 
19
include "../../php/dbconnect.php";
20
20
/* Function used to fetch quiz variant data */
21
21
function fetchQuizVariant($courseName, $quizNr, $quizVariantNr, $pdo) {
22
22
        $queryString=" SELECT QuizVariant.quizNr, QuizVariant.quizCourseName, QuizVariant.quizObjectIDs, Quiz.quizData 
36
36
        return $quizVariantData;
37
37
}
38
38
 
39
 
include "dbconnect.php";
 
39
 
40
40
 
41
41
//Check if the student is a praticipant of the course
42
42
$queryString="SELECT COUNT(*)