Students Management Site Development Note

How to Print Fields in a Drupal 7 Template?

http://drupal.org/node/1323842


print $content['field_review_nationality']['#items'][0]['taxonomy_term']->name;
?>

How to display profile2 fields:

http://drupal.org/node/1601226

=================
//The following 3 lines of code resulted in the following:
//echo '

';
	//print_r($profile);
	//echo  '

';

================
// load profile fields
global $user;
$uid = user_load($user->uid);

//Load 'Personal'-Fields
$profile = profile2_load_by_user($uid, 'personal');
$title = $profile->field_title['und'][0]['taxonomy_term']->name;
if (!empty($result)) { $title = $result->name; }

==================