|    
			
				08/02/2008, 06:46
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: marzo-2005 Ubicación: Madrid 
						Mensajes: 233
					 Antigüedad: 20 años, 7 meses Puntos: 5 |  | 
  |  Re: Sacando datos de un string.  
  Por si a alguien le sirve :
 $token = 'menutype=';
 $token2 = 'menu_style';
 
 $string = trim ($row-> params) ;
 // $row es un objeto de una fila de select * from jos modules like 'mod_mainmenu'
 
 $pos = stripos  ( $string , $token );
 $pos2 = stripos  ( $string , $token2 );
 $string = substr  ( $string  , ($pos + 9 ) , ($pos2 - $pos - 10 ) );
 $menutype = $string;
     |