1 2 3 4 5
<?php $arr = array('bob', 'john smith', 'grease monkey', 'etc'); $str = implode('|', $arr); echo $str; ?>
1
bob|john smith|grease monkey|etc