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 c.nome ASC' at line 1 in /home/escapadinha/public_html/mysql-shim.php:925
Stack trace:
#0 /home/escapadinha/public_html/mysql-shim.php(925): mysqli_query(Object(mysqli), 'SELECT c.id, c....')
#1 /home/escapadinha/public_html/funcoes.php(224): mysql_query('SELECT c.id, c....')
#2 /home/escapadinha/public_html/details.php(444): getSubMenu(NULL, NULL)
#3 /home/escapadinha/public_html/details.php(534): mostrar_detalhes('11803')
#4 {main}
thrown in /home/escapadinha/public_html/mysql-shim.php on line 925