[英]Get the value from array using laravel
This is the sample array这是样本数组
Array
(
[note] => Array
(
[to] => Array
(
[user] => Array
(
[name] => First User
)
[abc] => 123
[lmn] => 4582
)
[from] => Jani
[heading] => Reminder
[body] => Array
(
[abc] => 123
)
)
)
I have a string like "note > to > abc" and want value of "abc" under "to" array.我有一个像“note > to > abc”这样的字符串,并且想要“to”数组下的“abc”值。 So how can I get the value?
那么我怎样才能获得价值呢?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.