/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: galaxyAbstractor
  • Date: 2013-04-03 13:01:15 UTC
  • mfrom: (9.5.1 lenasys)
  • mto: (12.2.1 lenasys)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: galaxyabstractor@gmail.com-20130403130115-x7g17k3yvlmdtm83
Merged Victor

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(*)