Hi, I'm trying to write an IF statement to check if there are any ITEMS in the feed. If there aren't any items, I want to display a certain message. If there are items, I want to run through a FOREACH loop to display each item. But I keep getting errors. I'm using PHP4 and Magpie. Here's the latest variation on what I'm trying... if ($rss->items == 0) { [display msg bc there are no feed items] } else { foreach ($rss->items as $item) { [do something for each item] } } Any help would be greatly appreciated!