Multiple values in a row
If it's just adding the commas to an array, PHP has implode().

implode(', ', $fields).


I think iRex is asking how to get the values. In this case, I would use the following code.

$fields = array();
foreach ($node-&gt;field_name['und'] as $field) {
  $fields[] = $field['value'];
}