$result = file_get_contents("http://pogoda.ee"); preg_match( '/<td id="L_R_tl".?(.*?)<\/td>/is', $result , $links ); print_r($links); the site has text in the tag and in file get contents there is no
how to make it so it would not be empty in the tag