![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
17/04/2009, 09:44
|
![Avatar de Ronruby](http://static.forosdelweb.com/customavatars/avatar249338_1.gif) | | | Fecha de Ingreso: julio-2008 Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 16 años, 6 meses Puntos: 416 | |
Respuesta: Sustituir número X por otro que yo quiera
Código php:
Ver original<?php $texto = "width=\"480\" adasdasd sda sdaso dnsa "; echo preg_replace("/width=\"([0-9]+)\"/i", "width=\"400\"", $texto); ?>
|