Advertisement
srikat

Untitled

Oct 1st, 2012
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. <?php
  2.                                 // if ('the_field('event_with')' == 'Bryan Kest') :
  3.                                 //  echo 'instructor is: Bryan Kest';
  4.                                 // endif;
  5.  
  6.                                 $instructor = get_field('event_with');
  7.                                 echo $instructor;
  8.                                 if ($instructor == 'Bryan Kest')
  9.                                     {
  10.                                         echo "Bryan";
  11.                                     }
  12.                                     else {
  13.                                         echo "other";
  14.                                     }
  15.                                 ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement