PHP convert array to comma separated string

Last modified: July 18, 2021
<?php $num = array("a", "b", "c", "b"); $string = implode(', ', $num); echo($string); ?>