Rytą. Variantas naudojant pavyzdžiui DOMXPath http://lt.php.net/manual/en/class.domxpath.php $doc = new DOMDocument; $doc->Load('/kelias/iki/failo.html'); $xp = new DOMXPath($doc); $query = '/html/body/*/span[@id="44444"]'; $element = end($xp->query($query)); echo $element->nodeValue; Arba, pasitikint gražiu pasauliu ir failu: $pattern = '/<span\s+id="44444">([0-9]+)<\/span>/' $htmlDoc = file('/kelias/iki/failo.html'); preg_match($pattern, $htmlDoc, $matches); echo $matches[1]; Teisinga, vis tik, kokį nors XML dorotoją naudojant... -- JB emnt rašė: > sveiki, > koks geriausias buda islupti reiksme pvz is html failo > kuri stovi tarp konkretaus tago > pvz: > <html> > <body> > ........ > <span id="44444">77</span> > ....... > </body> > </html> > > kaip patikimiausiai islupti reiksme 77?