Erreur SQL !
SELECT nom,prenom,media,fonction FROM anciens where annee=\'2023\' ORDER BY nom asc
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 '\'2023\' ORDER BY nom asc' at line 1