Multiple values in a row How do I get multiple values (from one field) in a row in the node template? I have a field where a user can select up to 3 values. I would like that to be displayed this way:


  Industry: industry1, industry2, industry3


I don't want it displayed like this:


  Industry: industry1
            industry2
            industry3  


I am using Drupal 7.
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'];
}