logo
Blog single photo

u can use file_grt_contents() function


                        


$page = file_get_contents("Your Link");
$doc = new DOMDocument();
$doc->loadHTML($page);
$divs = $doc->getElementsByTagName('div');
foreach($divs as $div)
{
    if ($div->getAttribute('id') === 'your div id')
    {
         echo $div->nodeValue;
    }
}

?>

Top