
13/07/2009, 23:50
|
 | | | Fecha de Ingreso: julio-2008 Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 16 años, 7 meses Puntos: 416 | |
Respuesta: Sustituir texto por imagenes Puedes usar str_replace()
Código php:
Ver original$texto = "Esto :D es un texto"; $texto = str_replace(':D', '<img src="imagenes/caritafeliz.gif" />', $texto); echo $texto;
|