I can get the source code fine, but I now want to be able to get the data from within a specific div:
$html = file_get_contents('http://www.website.com');
say $html contains:
<div class="productData">
<div class="productDescription">Here is the product description</div>
<div class="productPrice">1.99</div>
</div>
I want to be able to return the data within , and do this for all occurrences?
Thank you.