Ver Mensaje Individual
  #7 (permalink)  
Antiguo 14/04/2009, 16:14
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 10 meses
Puntos: 416
Respuesta: Reemplazar un string

Es mas facil con una expresion regular:

preg_replace("/[^a-zA-Z0-9]+/", "", $texto);