Fatal error: Uncaught exception 'Exception' with message '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 '' at line 4' in /home/joguinho/public_html/bin/classes/BancoDados.class.php:62
Stack trace:
#0 /home/joguinho/public_html/categoria.php(58): BancoDados->consultar('SELECT sub_cate...')
#1 {main}
thrown in /home/joguinho/public_html/bin/classes/BancoDados.class.php on line 62