/lenasys/0.1

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

« back to all changes in this revision

Viewing changes to DuggaSys/quizAjax/getQuiz.php

  • Committer: galaxyAbstractor
  • Date: 2013-04-03 12:44:23 UTC
  • mto: (4.7.11 GammaBear)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: galaxyabstractor@gmail.com-20130403124423-gn2xgehzxahtcn78
Moved shared js, css and php, updated all paths in DuggaSys.

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