Error Number: 1064
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 nome ASC' at line 1
SELECT id ,nome , texto, slug, titulo as tituloObra, categoria FROM obras WHERE categoria = ORDER BY nome ASC
Filename: controllers/obra.php
Line Number: 57