Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End extract div container of any website in our site Re: extract div container of any website in our site

#128617
devil3682116
Participant

ok i got the solution

$html = file_get_html(“http://www.gsmarena.com”);
$displaybody = $html->find(‘div[id=brandmenu]’, 0);
echo $displaybody;

?>

but my question is how to dynamically change the links….i want the php code where our links to the site changes according to gsmarena.com changes its link…