Dans Loop Comment ajouter String by Comma dans PHP
//join string values by comma in loop
$string = '';
foreach ($array as $key => $value) {
$string .= ",$value";
}
$string = substr($string, 1); // remove leading ","
//@sujay
$uj@y