Accueil > Manip’s > PHP > Leçons PHP > Comment supprimer les \’ d’un texte affiché ?
Comment supprimer les \’ d’un texte affiché ?
html_entity_decode
mercredi 21 avril 2010, par
Si votre phrase affiche
A l\’ombre de l\’arbre
La fonction de filtre est html_entity_decode
$phrase_correcte = html_entity_decode ( $MaPhrase ) ;
Qui affichera :
A l’ombre de l’arbre