<? $html = file_get_html('http://www.krystaldirect.co.uk/SearchResults.asp?Search=$term&Submit=Search'); foreach($html->find('font[class="text colors_text"]') as $price) $html->find('font[class=text colors_text]', 0)->innertext = 'Our Price:'; //->innertext = 'Our Price:' foreach($html->find('div[class="product-img-box"]') as $image) $html->find('img[id="image"]'); //Do not delete !!! //echo $element->plaintext; //$html->find('div[id=hello]', 0)->innertext = 'foo'; ?>
oraz mam zwykla forme wyszukiwajaca... teraz jak polaczyc forme szukania z tym skryptem zeby
$term
zastapic slowem wpisanym w formie

jesli chodzi o przyklad to tutaj jest przyklad