Mega Code Archive
Categories
/
Php
/
Code Snippets
Latest news from Yahoo news
(.*)", $readfile ,$arrayreg); $filechunks = explode("
", $arrayreg[0]); $count = count($filechunks); echo "
"; echo "
latest news
"; for($i=1 ; $i<=$count-1 ;$i++) { ereg("
(.*)
",$filechunks[$i], $title); ereg("
(.*)",$filechunks[$i], $links); ereg("
(.*)
"; echo $title[1]; echo "
"; echo "
$links[1]
"; echo "
"; echo $desc[1]; echo "
"; } echo "
"; ?>