ERRO NA CONSULTA SQL
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 '=images/css/cases/ ORDER BY ordem ASC,id DESC' at line 1 - Consulta: SELECT * FROM tbportfolio WHERE ativo="s" AND images/css/cases/=images/css/cases/ ORDER BY ordem ASC,id DESC;