simple HTML DOM parser return wrong elements tree

DarkX

New Member
I am having problem with HTML DOM parser. This is what I used:\[code\]$url = 'http://topmmanews.com/2013/04/06/ufc-on-fuel-tv-9-results/';$page = file_get_html($url);$ret = $page->find("div.posttext",0);\[/code\]Which is supposed to return me count($ret->children()) = 10. However, it only return me with 3, all the elements after the 3rd are combined into it and created one element only. Can anyone help let me know if there is something wrong with my code or it was simple HTML DOM parser bug?
 
Back
Top