Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/06/2012, 04:43
sct012
 
Fecha de Ingreso: junio-2012
Mensajes: 4
Antigüedad: 11 años, 11 meses
Puntos: 0
PHP Cake - RSS

- Del RSS:
http://boe.es/rss/canal_leg.php?l=l&c=127

- Me da el siguiente error:
Invalid argument supplied for foreach()

- He puesto como código PHP, el siguiente:
<?php
foreach($canal_cd as $item){
echo '<li>'.$html->link($item->get_date('d.m.Y').' '.$item->get_title(), $item->get_permalink(), array('target'=>'_blank')).'</li>';
}
?>

- ¿Alguien puede ayudarme?
Gracias.