select elements from a webpage
Posted: Wed May 09, 2012 10:14 pm
I use
$find = file_get_contents('http://find.nlbook/');
to get the content of a webpage.
Is there a method like jQuery selector that
I can select a specific part from the HTML?
I want a <div > with ID='profile'
$find = file_get_contents('http://find.nlbook/');
to get the content of a webpage.
Is there a method like jQuery selector that
I can select a specific part from the HTML?
I want a <div > with ID='profile'