Get help. Give help. A Web Design and Development Community.
if anyone know how to extract same data container of any div in our own website…from php??
I have dont this
$html = str_get_html($file_contents);
$elem = $html->find(‘div[id=main]’, 0);
and nothing happened. :(
ok i got the solution
$html = file_get_html(“http://www.gsmarena.com”);
$displaybody = $html->find(‘div[id=brandmenu]’, 0);
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…
You must be logged in to reply to this topic.