如何從我的JSON對象回顯信息。代碼如下所示;如何從PHP顯示JSON所需的信息
array(20) {
[0]=>
object(stdClass)#1 (15) {
["team_id"]=>
int(10260)
["home"]=>
object(stdClass)#2 (7) {
["played"]=>
int(15)
}
["away"]=>
object(stdClass)#3 (7) {
["played"]=>
int(15)
}
["points"]=>
int(77)
}
我怎樣才能例如只是從這個數組中回聲每個團隊名稱?
沒有關於隊名的信息。只是團隊ID – hek2mgl