我有以下的陣列,我無法弄清楚如何擺脫它的任何值,這是數組:如何用php讀取json解碼數組?
Array
(
[0] => stdClass Object
(
[aure] => test
[menu] => stdClass Object
(
[pizza] => stdClass Object
(
[Tomato & Cheese] => stdClass Object
(
[small] => 5.50
[large] => 9.75
)
[onion] => stdClass Object
(
[small] => 5.50
[large] => 9.75
)
)
[Special Dinners] => stdClass Object
(
[Chicken Wings Dinner] => stdClass Object
(
[price] => 15.80
)
[onion] => stdClass Object
(
[small] => 5.50
[large] => 9.75
)
)
)
)
)
將你能夠給我的,我怎麼能得到一個例子價格爲一個小番茄&奶酪披薩?
壩看起來容易:),謝謝,有沒有辦法做到這一點不知道比薩餅 – aurel
@aurel的名字:是的。我將編輯我的答案 – genesis
@aurel:現在編輯 – genesis