Support

Account

Home Forums General Issues Link field values (checkbox) with url-s? Reply To: Link field values (checkbox) with url-s?

  • do the implode after the loop

    
    $myArray = array();
       foreach($choices as $value => $label) {
         if (in_array($value, $field_value)) {
         $myArray[] = "<a href='$value'>$label</a>";
    } }
    
    echo implode( ', ', $myArray);