Hi. I am very novice when it comes to PHP, but I am trying to pull all content that fits this criteria on our page. I was told to use preg_match_all and I am having a hard time figuring out how to do it.
Basically I want to scrape all content between an <A> tag. Here is the code I am trying to scrape all instances of.
<a class ="proddisplay">
<div class="prodImage">
<img src="/images/a6077-42-t.jpg" />
</div>
<div>Signature Tee</div>
</a>
I am using the simple_html_dom, and I can not seem to get past the
$html = file_get_contents('http://www.domain.com'); part of it
Any help would be MOST greatful!!!
Thank you very much.