Skip to:
Content
Pages
Categories
Search
Top
Bottom

count members based field

  • I have a problem and I’ve tried, but I cant solve by myself. My PHP level is too low. So, I post a question in forum and I hope someone can help me!
    How to count members based on common profile field (Multiselect field)
    I’ve tried this code :
    ==========================================

    <?php $role= xprofile_get_field_data( "Services" ,bp_get_member_user_id()); if ($role== 'Maketing') :?>

    Total maketing services:
    ==========================================
    the field “Services” I used Multiselect , it’s not working. But, if I use Textbox field, it works. :(

    please help me!!!

    SORRY FOR MY ENGLISH.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi all
    I have a problem and I’ve tried, but I cant solve by myself. My PHP level is too low. So, I post a question in forum and I hope someone can help me!
    How to count members based on common profile field (Multiselect field)
    I’ve tried this code :
    ==========================================

    <///?php $role= xprofile_get_field_data( "Services" ,bp_get_member_user_id()); if ($role== 'Maketing') :?///>

    Total maketing services:
    ==========================================
    the field “Services” I used Multiselect , it’s not working. But, if I use Textbox field, it works. :(

    please help me!!!

    SORRY FOR MY ENGLISH.

    you can view code I tried in this link : http://tanqd.us/code.txt

    anyone can help me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘count members based field’ is closed to new replies.
Skip to toolbar