Yes, its always a good practice to not have any warnings present.
As you could be performing operations on the wrong data.
When arrays are used as string, like if you attempt to print for instance:
echo $myrray;
You get the word "array" instead. So any string operations would likely be performed on that word instead of whatever string you actually want to perform them on.
You'll get the warning, but the operation will proceed.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
Behind the Web, Tips and Tricks for Web Development.
I agree with jpadie, its likely your $FRArray variable contains additional arrays. If you really need to have the contents $FRArray as a comma separated string, then you'll need to go through it and use is_array() to determine which of the keys is an array itself and implode it too; which can get a bit complex if you have more arrays within arrays inside the $FRArray.
The print_r method will offer a viewable string without any fuss, but it won't be comma separated.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
Behind the Web, Tips and Tricks for Web Development.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.