get link by specific search text using simple Html dom parser
<p>i want to get a link by specific text in title, using simple html dom parser PHP</p>

<p>html code </p>

<pre><code>&lt;h3 class="title"&gt;&lt;a href="0.html" class="title"&gt;  keyword1 &lt;/a&gt;&lt;/h3&gt;
</code></pre>

<p>how to get link if title is "keyword1" ?</p>

<p>my code </p>

<pre><code>$html = file_get_html($url);


foreach($html-&gt;find('h3[class=title]') as $e){

if(isset($e)){
foreach($e-&gt;find('keywords1') as $ee)

   foreach($html-&gt;find('a') as $eee){
 $d = $eee;




print_r ($d)."&lt;br&gt;";
}
</code></pre>