I'm trying to use simple html DOM to extract everything inside a tag with the class "sitepoint". Here is my code that doesn't work:
<?php
include_once('simple_html_dom.php');
$html = file_get_html('examplewebsite');
$ret = $html->find('.sitepoint');
echo $ret;
?>
Below is an example of one of the sitepoint tags (there are ten or so) with the information inside which I want.
<dl class="sitepoint">
<dd class="thumbnail">
<a href="blabla" ></a><a href="/toolbar/sidepanel.php?url=random.html" >Get This Now</a> </dd><dt class="notext"><a href="/to/" >Title</a></dt><dd class="starts">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td class="textUncolor"> CUT OUT SOME IMAGES AND ADDRESSES HERE
</td></tr>
</table>
</dd>
Can anyone help me get it working?