Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/06/2013, 04:25
serprods13
 
Fecha de Ingreso: mayo-2013
Mensajes: 7
Antigüedad: 10 años, 11 meses
Puntos: 0
Respuesta: Guardar datos de una funcion en una variable

E probado esto
Código:
 	foreach ($noticias->channel->item as $noticia) { 
	if($ContadorNoticias<$elementos){
		if($ContadorNoticias>$inicio){
			
		$noticia1.= $noticia->title;
			
			
		}
		$ContadorNoticias = $ContadorNoticias + 1;
 	 }
	} 
	echo "</ul>";
}
$noticia1 = lectorRSS('http://feeds.feedburner.com/noticiashiphop',2);

echo $noticia1;
echo $noticia1;
Pero no funciona... se queda en blanco.

Gracias.