Transfer Smarty Variable To php
  • I hope this isn't a stupid question.

    I am trying to evaluate a smarty variable within php, and no matter what I try I am unsuccessful. Can anyone shed some light on how that is done (or if it can be done)?

    What I am trying to do is take the campsite user variable "gender" and have the output display as "Male" or "Female" instead of "M" or "F". Once a user has registered, their gender will not change (OK, there are a few weird exceptions out there but I'm not going there). Accordingly, when I display a registered user's profile, I merebly want to show Male or Female.

    Hope that made sense. I tend to ramble!