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 'AND publication <> 'N'
ORDER BY nom
LIMIT 0,15' at line 3
Requete : SELECT id, nom, nomUrl, description, tel, logo, url
FROM annuaire
WHERE categorie = AND publication <> 'N'
ORDER BY nom
LIMIT 0,15