getting 2 elements from xml

AdamFL

New Member
how to retrieve both instances of element in an xml filehere is how i have been getting the others\[code\] $LargeImage = $xml->Items->Item->LargeImage->URL; $author = $xml->Items->Item->ItemAttributes->Author;echo ($author); \[/code\]however for $author, there are 2 authors and the element is like this \[code\]Items->Item->ItemAttributes-><Author>Ralph Bravaco</Author><Author>Shai Simonson</Author>\[/code\]so my current code is only able to get back the first author
 
Back
Top