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 'OR id_categ_2= OR id_categ_3 = ORDER BY d_maj DESC' at line 1