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