在db:如何訪問到嵌套對象
{"49530fe2e872288d92042b3059f31566":{"filename":"49530fe2e872288d92042b3059f31566.jpg"},"4b7dc54328383c294ceb884e9691838c":{"filename":"4b7dc54328383c294ceb884e9691838c.jpg"}}
使用打印後:
Array (
[49530fe2e872288d92042b3059f31566] => Array (
[filename] => 49530fe2e872288d92042b3059f31566.jpg
)
[4b7dc54328383c294ceb884e9691838c] => Array (
[filename] => 4b7dc54328383c294ceb884e9691838c.jpg
)
)
如何我可以訪問filename
?
您是否試圖做到這一點? – Mattia