The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
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.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed