Hey, thanks.
I'm just going along the way - don't really know javascript either (I pretty much learn what I need, no more, no less).
I've played about, and now have this working to an extent.
$dom = new DOMDocument();
@$dom->loadHTML($html);
$rank = $dom->getElementById('ctl00_mainContent_identityStrip_lblRank')->nodeValue;
$emblem = $dom->getElementById('ctl00_mainContent_identityStrip_EmblemCtrl_imgEmblem')->getAttribute('src');
The problem I'm having now is that there is a couple of things I cant figure out. One is that there is an image which doesnt have an id, instead has a class attribute, and i don't know how to find it.
The other is that there is another image which has no attributes other than src, but it is contained within a span with a unique id. I've tried to use xpath, but as far as i can tell that only gets an array of items. Is there any alternative that will only return the 1 that exists?
thanks
Arkane