开发者

How to merge two multi dimensional arrays in php?

How 开发者_开发知识库to do it? Please give me a solution.


You may be interested in PHP's array_merge_recursiveDocs function.


Same way as merging a standard array.

array_merge($arrayone[0],$arraytwo[0]);


You can merge arrays by using array_merge.

If you want more specific help, edit your question and make it more specific.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜