Bonjour,

comment afficher un signe " à la place d'un signe # ?

Ma fonction :
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) ;
		}
Renvoie :
Warning: preg_replace() [function.preg-replace]: No ending delimiter '#' found in
Ca me semblait vraiment basique...