Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,839
- How-to & Troubleshooting
- 129,848
- Creating & Extending
- 25,883
- Requests & Feedback
- 9,529
- Third Party Plugins
- 9,828
- Showcase
- 3,316
- Ideas
- 1,386
- Miscellaneous
- 9,177
-
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