simple html dom not working correctly
<p>This is my code:</p>

<pre><code>&lt;?php
    include("includes/simple_html_dom.php") ;

    $url_to_get = "http://getconfused.net/" ;
    $homePage = file_get_html($url_to_get);
    $allLinks = $homePage-&gt;find('a');
    foreach ( $allLinks as $link)
    {
         $href = $link-&gt;innertext ;
         echo $href . "&lt;/br&gt;" ;
    }
?&gt;
</code></pre>

<p>Simple. Just fetch a page, find any links and print the innertext(<code>&lt;a &gt;innertext&lt;/a&gt;</code>) . But for some reason simple html dom here is skipping a lot of links. TO be specific, its missing all the links from the first div (<code>&lt;div id="getconfused"&gt;</code>) of the page.
Why ? what can one do to remedy the problem?</p>
