Fatal error:
SQL Error:
-----
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 posicao ASC' at line 1
-----
SELECT * FROM banners WHERE ativo = 1 AND id_linha = ORDER BY posicao ASC
--------------------
in /home/storage/9/8e/82/jundia/public_html/sistema/utils/helpers/database_helper.php on line 9