Please be aware that the teams object is an array of JSON objects. So, you have an array (teams) within an array ($data). I would try something like this to see if you’re getting data back properly:
$teams = $data['teams'];
echo $teams[0];
Please be aware that the teams object is an array of JSON objects. So, you have an array (teams) within an array ($data). I would try something like this to see if you’re getting data back properly:
$teams = $data['teams'];
echo $teams[0];