simpledom - Extract DIV from XHTML with simpleHTMLDom and then print out

Task - scrape content inside a DIV tag with an ID and then return the XHTML.I am using 'PHP Simple HTML DOM Parser'Example simplified code:<html><head></head><body><h1>Head</h1><div class="page"><div id="content"><h2>Section head</h2><p>Text</p></div><div id="footer">Footer text</div></div></body></html>I can get the content OK with:$content = $html->find('#content');$content is now a simpleDOM object an array (corrected).How do I conv...Read more