[eluser]evolutionxbox[/eluser]
I have found that the problem lies in reading the simpleXML object, when I have this code:
Code:
print_r($podcastXML->channel->item[$number]);
I get nothing. Whereas if I have this:
Code:
print_r($podcastXML->channel->item[0]);
I get what I want. Why is this? ($number is defined by the function parameter).