TEMA :
Database Error
Message: MySQL Error has occured
MySQL Error: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 ( data_publicacao > 2022-05-17 or (data_publicacao = "22-05-17" AND hora_...' at line 1
Query:SELECT id FROM noticias WHERE status=1 AND categoria= AND ( data_publicacao > 2022-05-17 or (data_publicacao = "22-05-17" AND hora_publicacao < "06:54:22"))
Trace:/home/nutrifeliz/www/index.php at line 42
/home/nutrifeliz/www/painel/class/lib/Utilitarios.class.php at line 209
/home/nutrifeliz/www/template/noticias.php at line 40
/home/nutrifeliz/www/painel/class/conn/Conexao.class.php at line 540
/home/nutrifeliz/www/painel/class/conn/Conexao.class.php at line 521