I can't read RSS feed from 2 XML in one function. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: I can't read RSS feed from 2 XML in one function. (/showthread.php?tid=46630) |
I can't read RSS feed from 2 XML in one function. - El Forum - 11-09-2011 [eluser]Unknown[/eluser] I try to read RSS like this web http://codeigniter.com/wiki/RSSParser but it can read from 1 xml only This is my Controller Code: public function rss_news(){ This is my View. Code: foreach ($rss_news as $item1) but when I run this code it run function $data['rss_news'] = $this->rss_news(); 2 time. |