Are there any pit falls in the below code . Is it safe to use this way. I will not be using the array again
$records_msg = implode(" ",$records_msg);
Another thing. If you have array in array, you'll lose it. Example:
<?php
$input = array(1,2,3,array(4,5));
echo implode(',', $input);
?>
returns:
PHP Notice: Array to string conversion in C:\Temp\1.php on line 3
1,2,3,Array
implode()'s page doesn't mention anything about references; also, it actually works like that. See uk.php.net/manual/en/function.implode.php