Hi can anyone help me how to select a specific div from the content of a webpage.
Let\'s say i want to get the div with id=\"wrapper_content\" from webpage
id=\"wrapper_content\"
include('simple_html_dom.php'); $html = str_get_html($file_contents); $elem = $html->find('div[id=wrapper_content]', 0);
Download simple_html_dom.php