PHPWarning: implode (): Invalidargumentspassedin error message & nbsp; $ gets & nbsp; the following ($ vv [get] is similar to array (del & gt; 0, dept & gt; 2) & nbs error message about PHP Warning: implode (): Invalid arguments passed in
$ Gets = ""; // The Following ($ vv ["get"] is similar to array ("del" => "0", "dept" => "2 ") such an array
Foreach ($ vv ["get"] as $ g => $ gv)
{
$ Gets [] = $ g. "=". $ gv;
}
$ Gets = implode ("&", $ gets); // The implode function here returns an error
PHP warning: implode (): Invalid parameter transfer
How can this problem be solved ???
------ Solution ----------------------
What is var_dump ($ gets) before that sentence?
------ Solution ----------------------
Should explode be used to convert it into an array? Implode is an array to a string ~~
------ Solution ----------------------
Paste all your code