PB : select * from pgiArticle where ( amp;fieldspec1 = 'VERRES A BOUGIE' ) and Flag_censure=1 order by categorie, 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 ';fieldspec1 = 'VERRES A BOUGIE' ) and Flag_censure=1 order by categorie, fr_des' at line 1