/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/checkStudentCourseOccasion.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-28 14:52:36 UTC
  • mfrom: (90.1.17 lenasys2)
  • Revision ID: gustav.hartvigsson@gmail.com-20130528145236-35j250ahlry1ut06
Merged Jonsson:s code:
Fixed some css on the cmsindex.
Updated pics with transparent background.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
9
9
header('Content-type: application/json; charset=utf-8'); 
10
10
 
11
 
include "dbconnect.php";
 
11
include "../../php/dbconnect.php";
12
12
 
13
13
$queryString="SELECT COUNT(*) 
14
14
                          FROM Student, StudentCourseRegistration
27
27
 
28
28
$count=$stmt->fetchColumn();
29
29
 
30
 
if($count==1){
 
30
if($count==1) {
31
31
        echo json_encode(array('loginSuccess' => 'true'));
32
32
} else {
33
33
        echo json_encode(array('loginSuccess' => 'false'));