SHARE
TWEET

Untitled

a guest Jan 28th, 2013 20 Never
  1. <?php
  2. $values = $cfs->get('promoter');
  3. if (!empty($values)) {
  4.     echo $cfs->get_labels('promoter');  
  5.     echo implode(', ', array_keys($values));
  6. }
  7. ?>
  8. <br />
  9.        
  10. PromoterPromoter1, Promoter2
  11.        
  12. Promoter: Promoter1, Promoter2
  13.        
  14. <?php
  15. $values = $cfs->get('promoter');
  16. if (!empty($values)) {
  17.     echo $cfs->get_labels('promoter').": ";  
  18.     echo implode(', ', array_keys($values))."<br />";
  19. }
  20. ?>
  21.        
  22. echo $cfs->get_labels('promoter').": ";
  23.        
  24. <?php
  25. $values = $cfs->get('promoter');
  26. if (!empty($values)) {
  27.     $word = "";
  28.     $word .= $cfs->get_labels('promoter');
  29.     $word .= ": ";
  30.     $word .= implode(', ', array_keys($values));
  31.     $word .= "<br />";
  32.     echo $word;
  33. }
  34. ?>
RAW Paste Data
Top