array to string comma separated php code example Example: how to convert array to string with commas in php $tags = implode(', ', array('tag1','tag2','tag3','tag4'));