Ok so my site is a meta search engine and every word searched changes each page.

Me and Nile have working on this code
PHP Code:
<?php 
$html 
file_get_html("http://kywordpro.com/txt/1/10/".$q.".html");
$v = array();
foreach(
$html->find('td[name=desc]') as $e) { 
    
$v[] = substr($e->plaintext050);
}
$v implode(""$v);
?>
Which works when someone searches just one word but very slowly.
If you search multiple words it doesnt work at all.

The code is to pull the descriptons of the page and insert then into the
<meta name="description" content="RIGHT HERE" />

The problem to me seems to be
$html = file_get_html("http://kywordpro.com/txt/1/10/".$q.".html");

The $q us the term that is searched.

If I had a code that would say pull the info off the current page I think it would work.

Thanks for any feedback on this.
Tim..