在php编程中,如果前台出现Array to string conversion:

这说明,echo用于输出了数组,而echo是不可以输出数组的,把其中的数组用变量分别赋值进行替换,即可。

 

更多推荐

PHP报错——Array to string conversion的解决方案