Fatal error: Uncaught mysqli_sql_exception: 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 'AND `ert_allapot` in (0,2) AND `masaltalfelvitt` in (0,1)' at line 1 in /var/www/vhosts/ci/zsolt/app/system_mysql.php:68 Stack trace: #0 /var/www/vhosts/ci/zsolt/app/system_mysql.php(68): mysqli->query('SELECT `ujingat...') #1 /var/www/vhosts/ci/zsolt/app/system_mysql.php(189): mysql::query('SELECT `ujingat...') #2 /var/www/vhosts/ci/zsolt/app/system_model.php(1444): mysql::selectAndFetchAll('SELECT `ujingat...') #3 /var/www/vhosts/ci/zsolt/cont_home.php(242): model::getIngLista(NULL, 0, 'fel_date', 'desc', 16) #4 /var/www/vhosts/ci/zsolt/index.php(118): homeController::start() #5 /var/www/vhosts/ci/index.php(71): include('/var/www/vhosts...') #6 {main} thrown in /var/www/vhosts/ci/zsolt/app/system_mysql.php on line 68