Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 28th, 2013  |  syntax: None  |  size: 0.67 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. ?>
clone this paste RAW Paste Data