Posted by Juan Antonio Villa on 03/22/06 20:53
Hello All. I'm a newbie in programming and I was wondering if I could get
some help from you.
I have a form with the following fields:
-------------------------------------------------
Name
Email
Age (option field) -> over 45 or under 45
Sex (option field) -> male or female
Comments:
-------------------------------------------------
I currently submit this form to Formmail.cgi (Im sure you're familiar with
it) and I get it in an email.
What I need to do is that IF:
- Age is Over 45 and sex is male then send "this" via email to the <email>
field and i want to receive an email with the results of the form.
- Age is Under 45 and sex is male then send "this" via email to the <email>
field and i want to receive an email with the results of the form.
- Age is Over 45 and sex is female then send "this" via email to the <email>
field and i want to receive an email with the results of the form.
- Age is Under 45 and sex is female then send "this" via email to the
<email> field and i want to receive an email with the results of the form.
Could you give me a hint on how to acomplish this using PHP?
Thank you very much!
Juan
Navigation:
[Reply to this message]
|