global $current_user;
get_currentuserinfo();
$user_id = $current_user->ID;
$field = xprofile_get_field_data(1, $user_id); //where 1 is the field_id or use quotes for a field name and the user_id is the currently logged in user
echo ‘<a href="hxxp://somedomain.com/something.jsp?’ . $field . ‘">Your Text</a>’;