Comunidad de diseño web y desarrollo en internet online

Remplazar caracteres

Citar            
MensajeEscrito el 09 Sep 2007 01:27 am
Hola, estoy modificando un mini foro y me gustaria reemplazar caracteres por ejemplo: reemplazar # por $

Como puedo hacer esto?
Gracias

Por Kinduff

Claber

3563 de clabLevel

21 tutoriales
3 articulos

 

web dev wizzard

opera
Citar            
MensajeEscrito el 09 Sep 2007 02:32 am

Código :

$str = "#01 #02 #03 #04 #05 #06";
echo str_replace("#","$", $str);

Por Maikel

BOFH

5575 de clabLevel

22 tutoriales
5 articulos

Genero:Masculino   Team Cristalab

Claber de baja indefinida

firefox
Citar            
MensajeEscrito el 09 Sep 2007 02:43 am
Gracias ^^

Por Kinduff

Claber

3563 de clabLevel

21 tutoriales
3 articulos

 

web dev wizzard

opera

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.