Please help me to convert array to string.
array look like this:
Array
(
[0] => Array
(
[0] => Array
(
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 127
)
[1] => Array
(
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 127
)
...
)
)
I tried to use the implode function, but no result…
$string = implode(", ", $pxlCorArr);
PS: Sorry for my english i from ukraine.
That would be another possibility, as a function to which you pass your initial array and the function returns the string you needed:
and so you could do the following, somewhere in your code, to get the output you needed:
should output: