Erreur dans la requĂȘte SELECT id_gf, url_gf, count(url_gf) as ct FROM `gif_table` inner join giflink_table on id_gf=gif_id inner join giftag_table on giftag_id=id_gt WHERE ( ) and (xxx_gf=0) group by url_gf order by ct desc, datesend_gf 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 (xxx_gf=0) group by url_gf order by ct desc, datesend_gf asc' at line 1