Error subcategorias
_____
SELECT * FROM cat_productos WHERE categoria= AND activa=1 ORDER BY orden ASC
_____
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 'AND activa=1 ORDER BY orden ASC' at line 1