I am getting an XML error for some reason, even though this(beginner) code does what i want it to do. It fetches strings into an array.
Line 11 results in "Notice: Trying to get property of non-object in D:\pam\w\www\mp\p\lasxml.php on line 11"
<?php
$xml = new DOMDocument( "1.0", "ISO-8859-1" );
$xml = simplexml_load_file('http://www.myepisodes.com/rss.php?feed=mylist&showignored=0&sort=asc&uid=Demerzel&pwdmd5=c6ed54b98a82b1----ac58147cedbde5');
$allaFullStringfranxml = array();
$i = 0;
do{
$allaFullStringfranxml[] = $xml->channel->item[$i]->title;
++$i;
}while(($xml->channel->item[$i]->title) != null);