/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: elof.bigestans at gmail
  • Date: 2013-05-24 10:00:47 UTC
  • mto: This revision was merged to the branch mainline in revision 95.
  • Revision ID: elof.bigestans@gmail.com-20130524100047-bqgk67s2g9o3l85x
Solved some bugs in ManageCourses and related files (CSS, JS, View, Controller)

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