I'm trying to convert a PHP array to a string. This is what the array looks like when I print_r
:
Array (
[0] => Array (
[0] => Some text
)
[1] => Array (
[0] => some more text
)
[2] => Array (
[0] => SomeText
)
)
Here's the code I'm trying to use:
foreach($a as $b){
$c.= ", $b";
}
But that keeps coming back with Array Array Array
.