PHP array_push() is overwriting existing array elements

前端 未结 3 1941
栀梦
栀梦 2020-12-12 01:45

I\'m trying to push objects into an array to end up with an object array like this:

[
    {\"recipient_name\":\"John D\", \"phone_number\":\"123456\"},
    {         


        
3条回答
提交回复
热议问题