Erreur SQL !
SELECT categorie.id_categorie AS id_categorie,id_parent_categorie,id_grandparent_categorie FROM site,categorie WHERE site.id_categorie=categorie.id_categorie AND id_grandparent_categorie!=0 AND id_parent_categorie=
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 '' at line 1