0
我不知道如何循環訪問第三個數組([0] => Array)以獲取值。我將如何去獲得聯盟積分的價值?從PHP關聯數組獲取值
Array
(
[4605] => Array
(
[0] => Array
(
[name] => Hecarim's Duelists
[tier] => DIAMOND
[queue] => RANKED_SOLO_5x5
[entries] => Array
(
[0] => Array
(
[playerOrTeamId] => 4605
[playerOrTeamName] => External
[division] => I
[leaguePoints] => 17
[wins] => 223
[isHotStreak] =>
[isVeteran] => 1
[isFreshBlood] =>
[isInactive] =>
)
)
)
)
)
嘗試的foreach($ ARR [4605] [0] ['entries'] [0] as $ v){echo $ v;} –