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 'AND nav=''' at line 1
sql : SELECT titre_bz AS titre, texte_bz AS texte, media_url FROM fiches WHERE id_fiche= AND nav=''