Use the implode() method to convert your array into a delimited string, then use explode() to reverse the process and convert the concatenated string back into an array.
Convert an array into a delimited string in PHP
Using the implode() method to convert your array into a delimited string, then use explode() to reverse the process and convert the concatenated string back into an array. Use the implode() method to convert your array into a delimited string, then use explode() to reverse the process and convert the concatenated string back into an