How can I retrieve the profile2 fields selected in a custom module?
Finally this is giving me the results I am after:

$profile = profile2_load_by_user($user-&gt;uid);
$customer = field_get_items('profile2', $profile['customer'], 'field_cid');
$key = array();
foreach($customer as $item=&gt;$value){
  $output = field_view_value('profile2', $profile['customer'], 'field_cid', $customer[$item]);
  $key[] = strip_tags(render($output));
}
foreach($key as $word) {
  echo $word . "&lt;/br&gt;";
}