09.05.2013, 20:33
No. To compare strings you have to use strcmp; it doesn't act like integer comparisons.
EDIT: However, you COULD make it so the "gender" corresponds with a number defined in your script. So 1 = male and 2 = female.
EDIT: However, you COULD make it so the "gender" corresponds with a number defined in your script. So 1 = male and 2 = female.