Brian Read - 2008-08-09 12:29:33
Hi
I don not seem to be able to get access to the data in what I think is an array of objects. Here is a fragment of a print_r of the array:
Array ( [1737251] => SimpleXMLElement Object ( [0] => Albania )
[1470158] => SimpleXMLElement Object ( [0] => Andorra )
)
I have tried [1737251][0] (null return) and [1737251]->0 fails syntax.
the array is built up from the return from an xml parse using SimpleXMLElement (which is probably obvious anyway).
any ideas?
cheers
Brian