"0","dept"=>"2")&nbs"/> "0","dept"=>"2")&nbs">

关于PHP Warning: implode(): Invalid arguments passed in报错有关问题

PHPz
Release: 2019-12-31 14:55:43
Original
27709 people have browsed it

关于PHP Warning:  implode(): Invalid arguments passed in报错有关问题

推荐手册php完全自学手册
implode("\n",$msg)
Copy after login

报错:

implode(): Invalid arguments passed
Copy after login

最后发现:

$msg为array(0) {}
Copy after login

解决办法:

if(isset($msg)){implode("\n",$msg);}
Copy after login
相关文章推荐:           
1.php里implode是什么意思
2.php implode()函数实例详解
相关视频推荐:
1.独孤九贱(4)_PHP视频教程
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template