Warning: Undefined variable $student_id in /home/emptesting/public_html/parents/index.php on line 40

Warning: Undefined variable $student_id in /home/emptesting/public_html/parents/index.php on line 54

Warning: Undefined variable $class_id in /home/emptesting/public_html/parents/index.php on line 70

Warning: Undefined variable $student_id in /home/emptesting/public_html/parents/index.php on line 96

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND ca.attendance_date >= DATE_SUB(CURDATE(), INTERVAL 1 MONTH) GROUP ' at line 7 in /home/emptesting/public_html/parents/index.php:113 Stack trace: #0 /home/emptesting/public_html/parents/index.php(113): PDOStatement->execute(Array) #1 {main} thrown in /home/emptesting/public_html/parents/index.php on line 113