$holder = \'\'; foreach($fields as $key){ $holder .= $key.\', \'; } echo $holder;
I have the code above, it outputs \"a, b, c, \" I want to r
That's not how it's done.
$holder = join(', ', $fields)