An array of multiple strings can be joined together into a single string with a given delimiter by using the php implode() function.
Example code:
<?php $date = array('01', '01', '2006'); $keys = array('php', 'string', 'function'); print("A formated date: ".implode("/",$date)."\n"); print("A keyword list: ".implode(", ",$keys)."\n"); ?>
Output:
A formated date: 01/01/2006
A keyword list: php, string, function