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 MariaDB server version for the right syntax to use near '' at line 1 in /home/city4uapp/public_html/functions.php:157
Stack trace:
#0 /home/city4uapp/public_html/functions.php(157): PDOStatement->execute(Array)
#1 /home/city4uapp/public_html/admin/teacher/eidet.php(31): updateData('teachers', Array, 'teacher_id = ')
#2 {main}
thrown in /home/city4uapp/public_html/functions.php on line 157