I have a PHP file, and I'm trying to iterate a RSS feed, I want to assign id's to div tags using the `foreach` statment for each item in the feed, ie: content0, content1 ...

```
$rss = simplexml_load_file('--feedURL--');
foreach ($rss->channel->item as $key=>$item) {
    echo '<div id="content'.$key.'">" . $item->description . "</div>";
}

```

I am told this is how you get the index using $key, but all it keeps retuning is the word "item" at the end of the div's id.