PB : select * from pgiArticle where categorie LIKE '%/271/%' and ( amp;gamme = 'ELBA' ) and Flag_censure=1 order by longueur, prixVente1, fr_designation : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';gamme = 'ELBA' ) and Flag_censure=1 order by longueur, prixVente1, fr_designat' at line 1