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 'OR categoria2=)
ORDER BY codigo ASC' at line 3 em:
SELECT *
FROM produtos
WHERE (categoria= OR categoria2=)
ORDER BY codigo ASC
Arquivo: /produtos.php
Voltar