I have a multidimensional array $BlockData[]which has 13 dimensions in it and ‘n’ number of array elements. I need to implode this array back to a single long string where the elements are separated by "\n" line feeds and the dimensions are separated by "\t" tabs.
I’ve tried using the array_map() function with no success and need help accomplishing this. Please help!
Here’s an option that I suggested yesterday in chat:
Or, if you’re using PHP < 5.3 (5.2, 5.1, 5.0, etc)