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 MySQL server version for the right syntax to use near 'and dt_datacad <= Now() and nn = 1 order by cd_noticia desc limit 1' at line 1 in /app/appcode/conexao.php:78 Stack trace: #0 /app/appcode/conexao.php(78): PDO->query('SELECT nm_titul...') #1 /app/appcode/brain.php(18): database->selectDB('SELECT nm_titul...') #2 /app/article-detail.php(102): tabela('SELECT nm_titul...', '\n\t\t\t\t\t\t\t\t\t\t\t\t\t<...') #3 {main} thrown in /app/appcode/conexao.php on line 78
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 MySQL server version for the right syntax to use near 'and dt_datacad <= Now() and nn = 1 order by cd_noticia desc limit 1' at line 1 in /app/appcode/conexao.php:78 Stack trace: #0 /app/appcode/conexao.php(78): PDO->query('SELECT nm_titul...') #1 /app/appcode/brain.php(18): database->selectDB('SELECT nm_titul...') #2 /app/article-detail.php(102): tabela('SELECT nm_titul...', '\n\t\t\t\t\t\t\t\t\t\t\t\t\t<...') #3 {main} thrown in /app/appcode/conexao.php on line 78
