A couple things to help with debugging:
Add the following lines at the top of the script if you don't know for sure that all error reporting is already turned on. (You can delete them later, or just set display_errors to 0 for the production version.)
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
Use "<?php" rather than "<?' tags throughout, in case short_open_tags is not enabled on your system (and just to be more compatible in general).
Always check return values for problems:
if(mysql_select_db("spl",$db_handle) == false)
{
// log error, throw exception, die(), etc.
}
// . . .
$sql = "SELECT NumberGoals, PlayerName, TeamName FROM scorers ORDER BY Position";
$myquery = mysql_query($sql, $db_handle);
if($myquery == false)
{
user_error(mysql_error()."<pre>$sql</pre>");
// error message, exception, die(), or whatever
}