I need to make a field that is editable in the User Manager area. The $ageValue is from #__users_ext field "age".
$db = JFactory::getDbo();
$query = "SELECT age_group FROM #__user_age where age_key=".$ageValue;
$db->setQuery($query);
$age = $db->loadResult();
return $age;
Thanks,
Sean