Sunday, March 15, 2009

load profile field value

<?php
global $user;
profile_load_profile($user);

return array(
0 => array('value' => $user->profile_id_comp),
);
?>

No comments: