Page 1 of 1

implode function

PostPosted: 03. December 2007 05:24
by distss
I am getting the error of:

Warning: implode() [function.implode]: Bad arguments. in C:\Program Files\xampp\htdocs\r4w\form_process4.php on line 140

for the code:

$involved_string = implode (',', $involved);


The same piece of code when uploaded to the website server works fine. Any help most appreciated.

PostPosted: 03. December 2007 09:44
by Wiedmann
There is no array "$involved"? Just test this with:
Code: Select all
var_dump($involved);
exit;
$involved_string = implode (',', $involved);