<? $news=file("123.txt"); $count=count($news); for ($i=0;$i<$count;$i++){ echo $news[$i]."<br />"; } ?>