Catálogo de produtos


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 'WHERE a.status = "on" ORDER BY a.titulo' at line 5 | Erro número: 1064

Query inválida: SELECT DISTINCT a.titulo, a.descricao, a.imagem FROM tbo_produto_acessorio pa INNER JOIN tbo_acessorio a ON a.id = pa.id_acessorio AND pa.id_produto = WHERE a.status = "on" ORDER BY a.titulo