Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/01/2010, 12:20
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 7 meses
Puntos: 334
preg_match('/src="([^"]+)"/i', $row['3'],$img);

intenta asi

si funciona lo revise recien
Código PHP:
Ver original
  1. $text = ' img alt="Articulo" src="./modulos/mod_editor/uploads/carpetas/21232f297a57a5a743894a0e4a801fc3/para%20articulo%20foto1.JPG"';
  2. preg_match('/src="([^"]+)"/i', $text,$match);
  3. print_r($match[1]);
__________________
More about me...
~ @rhyudek1
~ Github

Última edición por GatorV; 08/01/2010 a las 11:43