function advuser_profile_value in Advanced User 6.3
Same name and namespace in other branches
- 5.2 advuser.module \advuser_profile_value()
- 6.2 advuser.module \advuser_profile_value()
- 7.3 advuser.module \advuser_profile_value()
Profile Field Values
Parameters
int $fid:
int $uid:
Return value
mixed
File
- ./
advuser.module, line 491 - Advanced user module allows you to select users based on an advanced set of filtering and apply actions to block, unblock, delete or email the selected users.
Code
function advuser_profile_value($fid, $uid) {
$ret = db_result(db_query("SELECT value FROM {profile_values} WHERE fid = %d and uid = %d", $fid, $uid));
if ($ret === FALSE) {
$ret = NULL;
}
return $ret;
}