球数组插入,该怎么解决
程序员文章站
2022-06-17 18:08:14
...
球数组插入
Array (
[0] => Array ( [0] => Array ( [name] => jack [size] => 2G [free] => 1.99G )
[1] => Array ( [name] => jack [size] => 2G [free] => 1.99G )
)
我怎么插才能变成
Array (
[0] => Array ( [0] => Array ( [name] => jack [size] => 2G [free] => 1.99G [path] => 111G )
[1] => Array ( [name] => jack [size] => 2G [free] => 1.99G [path] => 11G )
)
)
------解决方案--------------------
看错老.按照乔丹的写吧,这是什么数组组成这个奇形怪状.
Array (
[0] => Array ( [0] => Array ( [name] => jack [size] => 2G [free] => 1.99G )
[1] => Array ( [name] => jack [size] => 2G [free] => 1.99G )
)
我怎么插才能变成
Array (
[0] => Array ( [0] => Array ( [name] => jack [size] => 2G [free] => 1.99G [path] => 111G )
[1] => Array ( [name] => jack [size] => 2G [free] => 1.99G [path] => 11G )
)
)
------解决方案--------------------
看错老.按照乔丹的写吧,这是什么数组组成这个奇形怪状.
相关文章
相关视频