Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Need to check if bp_profile_field_data() has data


Roger Coathup
Participant

@rogercoathup

Is your field definitely called “skills” – no spaces, same capitalisation?

Things to try (one at a time):

1. use == instead of ===
2. use strcmp() to compare the strings instead of ===
3. use the field id function instead of the field name function

Good luck.

p.s. I’d change your ‘else if’ to ‘elseif’ as well

Skip to toolbar