(.*)", $readfile ,$arrayreg); $filechunks = explode("", $arrayreg[0]); $count = count($filechunks); //build our table echo ""; //display our heading echo ""; for($i=1 ; $i<=$count-1 ;$i++) { ereg("(.*)",$filechunks[$i], $title); ereg("(.*)",$filechunks[$i], $links); echo ""; } echo "
$randomfeed
"; //display all the titles echo $title[1]; echo ""; //display all the links echo "link"; echo "
"; ?>