PHP array splicing
金牌马甲
金牌马甲 2021-08-25 15:35:25
0
1
975
Array
(
    [0] => stdClass Object
        (
        [id] => 1
        [user] => test
        )
)
Array
(
    [0] => stdClass Object
        (
        [addtime] => 2021-8-25
        [password] => 123456
        )
)

How to merge the above two arrays into the following array? Can you give me the code? Thank you.

Array
(
    [0] => stdClass Object
        (
        [id] => 1
        [user] => test
        [addtime] => 2021-8-25
        [password] => 123456
        )
)

金牌马甲
金牌马甲

reply all(1)
Peter_Zhu

Merge arrays The array_merge() function merges arrays together and returns a combined array

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template