我正在從另一個(gè)服務(wù)返回?cái)?shù)組數(shù)據(jù)。JSON解碼后得到的數(shù)據(jù)是這樣的Array( [result] => Array ( [0] => Array ( [number] => INC00001234 [short_description] => LLKS portal outage ) [1] => Array ( [number] => INC00001235 [short_description] => Server degradation ) [2] => Array ( [number] => INC00001236 [short_description] => Printer not printing ) ))現(xiàn)在,我想要的只是循環(huán)遍歷 JSON 并僅列出這樣的數(shù)字Number : INC00001234Description : LLKS portal outage Number : INC00001235Description : Server degradationNumber : INC00001236Description : Printer not printing我怎么做?
返回 PHP 多維數(shù)組值
HUH函數(shù)
2024-01-19 17:00:41