Warning: array_merge (): Argument #3 isnotanarray

Source: Internet
Author: User
The background code is written as follows: $ data [& #039; goods & #039;] array_merge ($ goods, $ cat_goods, $ all_goods); I used to upload two arrays, an error will be reported if three items are passed in. what can be done ?? I checked the manual, but the manual did not provide a solution. I hope you can give me some advice. thank you...

The background code is written in this way.
$ Data ['Goods '] = array_merge ($ goods, $ cat_goods, $ all_goods );
I used to upload two arrays. if I upload three arrays, an error is returned. what is the solution ??
I checked the manual, but the manual did not provide a solution. thank you for your advice.

Thank you! let me solve it by myself. after all, there is nothing complicated.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.