PB : select * from pgiArticle where categorie LIKE '%/6/%' and ( ( amp;categorie = '/15/' OR amp;categorie = '/6/' ) ) and Flag_censure=1 order by position, 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 ';categorie = '/15/' OR amp;categorie = '/6/' ) ) and Flag_censure=1 order by p' at line 1