identifying gender

Discussion in 'Customization & add-ons' started by azmeer, Jan 26, 2009.

  1. azmeer

    azmeer New Member

    Joined:
    Apr 10, 2007
    Messages:
    2
    Hi I am trying to detect the gender of amember users. I see there are 2 fields in 'amember_members' table: is_male (smallint) and gender (blob). I signed up 2 accounts, one as male, other as female. When I inspected the data in the table I see:

    male -> is_male=0, gender= -4
    female -> is_male=0, gender= -6

    my questions are
    1. Which field to use to detect gender
    2. What is the role of 'is_male' field?

    thank you in advance
  2. azmeer

    azmeer New Member

    Joined:
    Apr 10, 2007
    Messages:
    2
    found the answer :)

    the blob has it:

    'gender' field has the value 'Male' for males and 'Female' for females :)
    but I still wonder the use of 'is_male' field :rolleyes:

Share This Page