Quantcast
Channel: simple xml parsing - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Adam Pointer for simple xml parsing

$
0
0

Try this:

foreach($rss->channel->item as $item) {    $title = (string)$item->title[0];    echo $title;}

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>