How do I merge all the array items into a single string?
If you are trying to just concatenate all of strings in the array, then you should look at implode().