Skip to main content
added 61 characters in body
Source Link
harshal
  • 4.4k
  • 6
  • 41
  • 82

The following can be implemented to get the user details

global $user;
$user_load = user_load($user->uid);
$user_load->field_f_name[LANGUAGE_NONE][0]['value'] ;
$user$user_load->field_l_name[LANGUAGE_NONE][0]['value'] ;
$user$user_load->field_phone[LANGUAGE_NONE][0]['value'] ;
$user$user_load->field_address[LANGUAGE_NONE][0]['value']

The following can be implemented to get the user details

global $user;
$user->field_f_name[LANGUAGE_NONE][0]['value'] ;
$user->field_l_name[LANGUAGE_NONE][0]['value'] ;
$user->field_phone[LANGUAGE_NONE][0]['value'] ;
$user->field_address[LANGUAGE_NONE][0]['value']

The following can be implemented to get the user details

global $user;
$user_load = user_load($user->uid);
$user_load->field_f_name[LANGUAGE_NONE][0]['value'] ;
$user_load->field_l_name[LANGUAGE_NONE][0]['value'] ;
$user_load->field_phone[LANGUAGE_NONE][0]['value'] ;
$user_load->field_address[LANGUAGE_NONE][0]['value']
Source Link
harshal
  • 4.4k
  • 6
  • 41
  • 82

The following can be implemented to get the user details

global $user;
$user->field_f_name[LANGUAGE_NONE][0]['value'] ;
$user->field_l_name[LANGUAGE_NONE][0]['value'] ;
$user->field_phone[LANGUAGE_NONE][0]['value'] ;
$user->field_address[LANGUAGE_NONE][0]['value']