如何将3个数组合并为php中的一维数组

问题描述 投票:-1回答:1

[format_type] =>数组([0] => 1[1] => 2[2] => 5)

[lessonTitle] =>数组([0] => dsdfsd[1] => sdfsdf[2] => sdfsdf)

[时间] =>数组([0] => sdfsdf[1] => sdfsdf[2] => sdfdsf)

输出:数组([0] =>数组([0] => 1[1] => dsdfsd[2] => sdfsdf)[1] =>数组([0] => 2[1] => dsdfsd[2] => sdfsdf)[2] =>数组([0] => 5[1] => dsdfsd[2] => sdfsdf))

php codeigniter
1个回答
0
投票

很难回答,您提供0个细节,但我会尽力的。

我认为您是在谈论https://www.w3resource.com/php/function-reference/array_merge.php

© www.soinside.com 2019 - 2024. All rights reserved.