select `t`.* from `school` `t` where `t`.`id` = ?
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 3

Fatal error: Uncaught exception 'iDb_Query_Exception' with message '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 3' in /var/www/vhosts/brquiz.com/httpdocs/lib/db/connection.php:53 Stack trace: #0 /var/www/vhosts/brquiz.com/httpdocs/lib/model/table.php(115): iDb_Connection->query(Object(iDb_Select)) #1 /var/www/vhosts/brquiz.com/httpdocs/lib/model/table.php(102): iModel_Table->fetchAll(Object(iDb_Select)) #2 /var/www/vhosts/brquiz.com/httpdocs/lib/model/table.php(88): iModel_Table->fetchOne(Object(iDb_Select)) #3 /var/www/vhosts/brquiz.com/httpdocs/lib/model.php(39): iModel_Table->get(NULL) #4 /var/www/vhosts/brquiz.com/httpdocs/application/controller/student/logincontroller.php(225): iModel::get('school', NULL) #5 /var/www/vhosts/brquiz.com/httpdocs/lib/controller.php(49): LoginController->user() #6 /var/www/vhosts/brquiz.com/httpdocs/lib/controller/front.php(122): iController->invoke() #7 /var/www/vhosts/brquiz.com/httpdo in /var/www/vhosts/brquiz.com/httpdocs/lib/db/connection.php on line 53