\n\n"; echo "\n\n"; echo "\n\n"; echo "\n"; echo "NCAA Scores\n"; echo "http://www.ncaasports.com/\n"; echo "NCAA Scores\n"; echo "en-us\n"; echo "\n"; echo " NBA Scores\n"; echo " http://www.mpiii.com/scores/ncaa.gif\n"; echo " http://www.ncaa.com\n"; echo "\n"; echo "info@ncaa.com\n"; $content = get_content ("http://sports.espn.go.com/ncb/bottomline/scores"); $content_array=explode("&", $content); $scorearray = array(); $i=0; foreach($content_array as $content) { if (strpos($content, "_left")) { $equalpos = strpos($content, "="); $end = strlen($content); $title = substr($content, ($equalpos+1), $end); $title = str_replace("^", "", $title); $title = str_replace("%20", " ", $title); $scorearray[$i]["title"] = $title; } if (strpos($content, "_url")) { $equalpos = strpos($content, "="); $end = strlen($content); $url = substr($content, ($equalpos+1), $end); $url = str_replace("^", "", $url); $url = str_replace("%20", " ", $url); $scorearray[$i]["url"] = $url; $i++; } } foreach($scorearray as $score) { echo "\n"; echo "".$score["title"]."\n"; echo "".$score["url"]."\n"; echo "\n"; } echo "\n"; echo "\n"; ?>