return array values separated php code example Example: convert array into , separated string in php $tags = implode(', ', array('tag1','tag2','tag3','tag4'));