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

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 ') ORDER BY ce.id DESC' at line 4 in /home/emptesting/public_html/parents/events.php:22 Stack trace: #0 /home/emptesting/public_html/parents/events.php(22): PDOStatement->execute(Array) #1 {main} thrown in /home/emptesting/public_html/parents/events.php on line 22