On our site we added a custom field to user profiles that is also filled out at registration time. The field asks for a user's gender. We created new status icons for the "Online/Offline" indicator that reflect a user's gender, and wanted to write a small script that would check the gender of a user and select the appropriate icon. Since some of our registered users have not selected a gender (since it's a new field) I'd like a default image (the male one) to show up. How would I write this script?
Thanks
Thanks

Comment