select categoriet.categorie, categorie.id, categorie.parent from categorie inner join categoriet on (categoriet.FKLangue=1 and categoriet.FKCategorie=categorie.id) where categorie.id = order by categoriet.categorie 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 'order by categoriet.categorie ASC' at line 3