Warning: Undefined array key "school_cod" in /home3/grainhoo/public_html/soft/attendance/sec_up_in_att.php on line 2

Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /home3/grainhoo/public_html/soft/attendance/sec_up_in_att.php:8 Stack trace: #0 /home3/grainhoo/public_html/soft/attendance/sec_up_in_att.php(8): mysqli_query(Object(mysqli), 'SELECT * FROM `...') #1 {main} thrown in /home3/grainhoo/public_html/soft/attendance/sec_up_in_att.php on line 8