Guest User

Untitled

a guest
Sep 23rd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. $field = 'field_name:field_value';
  2. $check = explode(':', $field);
  3.  
  4. if (isset($check[1]) && $check[1] != '') {
  5.    //process this field
  6. }
Add Comment
Please, Sign In to add comment