<?php $user = new stdClass(); $data = new stdClass(); $user->uid = 47; $data->field_targetuser = array_map('trim',explode(',','45, 409, 47, 100')); if(in_array($user->uid,$data->field_targetuser)) { print "Exists"; return true; } else { print "Not Exists"; return false; } ?>
You have javascript disabled. You will not be able to edit any code.