Warning: Undefined array key "id" in /home/urupes/www/noticias/noticia.php on line 28

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 'and exibir='Sim' LIMIT 1' at line 1 in /home/urupes/www/noticias/noticia.php:30 Stack trace: #0 /home/urupes/www/noticias/noticia.php(30): PDO->query('SELECT * from t...') #1 {main} thrown in /home/urupes/www/noticias/noticia.php on line 30