/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: Daniel Johansson
  • Date: 2013-04-04 08:42:36 UTC
  • mto: (12.2.2 lenasys)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: maila@danieljohansson.nu-20130404084236-qlj2xxiwkvps7egi
Fixed CSS error in Parser_test.css

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'));