if (!empty($users)) {
$users_tmp=explode(',',trim($users));
$users_tmp=array_map('trim',$users_tmp);
$sql .= " AND u.u_name in ('".implode("','", $users_tmp)."')";
}
6 maj 2016
if (!empty($users)) {
$users_tmp=explode(',',trim($users));
$users_tmp=array_map('trim',$users_tmp);
$sql .= " AND u.u_name in ('".implode("','", $users_tmp)."')";
}