• I am using this code to make lists of external links on a page. It works wonderfully but I am unsure how to display publication date for each item.

    Any suggestions? Thanks!

Viewing 1 replies (of 1 total)
  • Use the value $item[‘pubdate’]
    E.g.,

    <?php echo $item[‘pubdate’]; ?>

    Just make sure that any feed you use has the <pubDate></pubDate> tag pairs.

Viewing 1 replies (of 1 total)
  • The topic ‘How to Display/Echo pubDate Using fetch_rss’ is closed to new replies.