1
エラー が気づい:未定義のオフセット:0ライン37は気づい:オフセット未定義:0ライン36
ライン37
$table = (table2)["response"]["players"][0];
スモールカット
");
}
$steamid64 = $_GET["steamid"];
$url = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=" . $SteamAPIKey . "&steamids=" . $steamid64;
$json = file_get_contents($url);
$table2 = json_decode($json, true);
//Undefined Variable which means it hasn't been Verified.
$table = $table2["response"]["players"][0];
print_r($table2);
?>
では
を交換して明らかに ' "選手"'コレクション内の要素がありません。コードは、それがあると仮定します。したがって、エラー。 – David
[通知:未定義オフセット:0インチ](http://stackoverflow.com/questions/6549561/notice-undefined-offset-0-in)の可能な複製 – FirstOne