Skip to:
Content
Pages
Categories
Search
Top
Bottom

Checking profile field values with PHP

  • Avatar of Tudmak
    Tudmak
    Participant

    @tudmak

    At the moment I have a few profile fields for every member, and I would like to write a conditional based on the members’ choices in their profile.

    For example, if in the registration I had three chekboxes, names “A”, “B”, “C”, I would want something that would look like this:

    if (/* User chose A */) { /* do this*/;}
    
    elseif (/* User chose B */) { /* do this*/;}
    
    else (/* User chose C */) { /* do this*/;}

    Any ideas? Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Checking profile field values with PHP’ is closed to new replies.