how to convert array to string with commas in php
snippet in php

how to convert array to string with commas in php

user2154

$string = implode(', ', $tags);

how to convert array to string with commas in php

user5894

 $tags = implode(', ', array('tag1','tag2','tag3','tag4'));