Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/06/2013, 04:12
Avatar de repara2
repara2
 
Fecha de Ingreso: septiembre-2010
Ubicación: München
Mensajes: 2.445
Antigüedad: 13 años, 7 meses
Puntos: 331
Respuesta: Guardar datos de una funcion en una variable

Tienes que reemplazar los echo de la función por $noticia .= lo que sea,
La función retornará la variable $noticia y luego puedes llamar a la función así:

$noticia = lectorRSS('http://feeds.feedburner.com/noticiashiphop',2);

Consulta un tutorial de PHP, saludos.
__________________
Fere libenter homines, id quod volunt, credunt.