Thanks for the help so far.
Knowing that the extra tags were coming back, I tried to take the quick fix and strip them like this:
`
`
…but I still get the same result — data wrapped in P tags.
I spent some time trying to learn about the xprofile functions but I did not find a clear example that I could make work.
Would I would like to find a loop that gives me rather tight control of what is happening.
Perhaps like this (pseudo code):
`
$user = bp_get_profile($user_id);
for ($i = 0;$user.fields.count;$i++) {
$field = $user.fields($i);
echo $field->name;
echo $field->data;
}
`