Fatal error: Uncaught mysqli_sql_exception: 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 'ORDER BY noticia_id DESC LIMIT 1' at line 1 in /home3/jorn7786/public_html/_classes/database.class.php:48 Stack trace: #0 /home3/jorn7786/public_html/_classes/database.class.php(48): mysqli_query(Object(mysqli), 'SELECT noticia_...') #1 /home3/jorn7786/public_html/_classes/correio.class.php(7): seleciona_dados('jccidade_notici...', 'noticia_titulo,...', 'WHERE noticia_a...', 'ORDER BY notici...') #2 /home3/jorn7786/public_html/index.php(62): geraTags('noticias', '', 'aqui') #3 {main} thrown in /home3/jorn7786/public_html/_classes/database.class.php on line 48