我正在尝试为我的网站运行一个脚本,我得到一个没有错误的白屏,我尝试运行脚本
error_reporting(E_ALL);
ini_set('display_errors',TRUE);
但是我仍然没有错误,因为我使用的是 godaddy,所以我无法访问 php.ini。
//Get ITID from URL
$iITID = $_GET["ITID"];
$oteaminfo = mysql_query("
SELECT .Players.FirstName, Players.LastName, Players.Position, Players.Height, Players.Weight, .Players.DOB, Countries.Nation, NHLTeams.Team, ; ; ; InternationalTeam.InternationalTeam, InternationalLeagues.InternationLeague, CNGHLTeams.CNGHLRights
From Players
Inner Join InternationalTeam
On Players.ITID=InternationalTeam.ITID
Inner Join InternationalLeagues
On Players.ILID=InternationalLeagues.ILID
Inner Join Countries
On Players.NationID=Countries.NationID
Inner Join NHLTeams
On Players.TeamsID=NHLTeams.TeamID
Inner Join CNGHLTeams
On Players.CNGHLID=CNGHLTeams.CNGHLID
WHERE InternationalTeam.InternationalTeam=$iITID
ORDER BY Players.LastName;
") or die(mysql_error());
while($row = mysql_fetch_array($oteaminfo))
{
Print "Player Name: ".$row['FirstName']." ".$row['LastName']."<br>";
Print "Position: ".$row['Position']."<br>";
Print "Height: ".$row['Height']."<br>";
Print "Weight: ".$row['Weight']."<br>";
Print "Birthdate: ".$row['DOB']."<br>";
Print "Nationality: ".$row['NationID']."<br>";
Print "NHL Rights: ".$row['Team']."<br>";
Print "CNGHL Team: ".$row['CNGHLRights']."<br>";
}
?>
剧本不见了Players.Weight, .Players.DOB, Countries.Nation, NHLTeams.Team, InternationalTeam.InternationalTeam, InternationalLeagues.InternationLeague, CNGHLTeams.CNGHLRights
因为它不会让我缩进它以显示为脚本。我已尝试查找此问题,但似乎找不到任何对我的情况有帮助的东西。任何帮助都会非常感谢。