Hi ha hagut un error en select * from subcategories where id_categoria= and id<>21 ORDER BY ordre asc Invalid query: 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 id<>21 ORDER BY ordre asc' at line 1