Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get xprofile field drop down select box value


  • ARCangelGIRL
    Participant

    @arcangelgirl

    Hello,

    I faced some problems of how to get xprofile field drop down select box value.

    Let say that I have xprofile field name ‘First’ and it is drop down select box with following values:
    ‘Value1’
    ‘Value2’
    ‘Value3’….

    I used this code to get the field
    echo xprofile_get_field_data('First', bp_get_member_user_id());

    The values are printed but I would like every value to be wrapped in a different URL.
    Etc.:

    <a href="url1">Value1</a>
    <a href="url2">Value2</a>

    I tried many variations, but still no luck.. Any recommendations on this would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get xprofile field drop down select box value’ is closed to new replies.
Skip to toolbar