Bonjour,
comment afficher un signe " à la place d'un signe # ?
Ma fonction :
Renvoie :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 function affiche_guillemets ($texte) { $pattern = '#'; $replacement = '"'; $texte = (preg_replace($pattern, $replacement, $texte)); return ($texte) ; }
Ca me semblait vraiment basique...Warning: preg_replace() [function.preg-replace]: No ending delimiter '#' found in
Partager