Vytas Posted November 29, 2009 Share Posted November 29, 2009 Hello, Let's say, i have: <div id="main"> <div id="first"><img href="asd.jpg" /></div> <div id="second"><p>asd</p></div> </div> And i want to get the value of div with id "first", how can this be done with DOMDocument? Or would it be easier done with something else? Could you give an example? Link to comment https://forums.phpfreaks.com/topic/183301-html-dom-parsing/ Share on other sites More sharing options...
Vytas Posted November 29, 2009 Author Share Posted November 29, 2009 oops, nothing, my bad. Link to comment https://forums.phpfreaks.com/topic/183301-html-dom-parsing/#findComment-967551 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.