i have the url and need to get the value of 'tackle' from this json file. http://api.suredbits.com/nfl/v0/stats/brown/zach
I tried this but its throwing errors -> undefined index
$url = "http://api.suredbits.com/nfl/v0/stats/brown/zach";
$json = file_get_contents($url);
$json_data = json_decode($json, true);
echo $json_data["tackle"];