PHP Mailing Different People
Hello people,
I would like to say thank you to all of you that are providing scripts and answers to questions here on the forums. I have a question, or a challenge as some of you may take it. I started using PHP a few days ago for this company I work for. They have a contact us page that has 2 drop down lists. One of them are :
I am a/an :
"Prospective insured"
"Prospective agent"
"Insured"
"Agent"
"Uknown Person"
I wish to :
"Request Claim Information"
"Request information about my policy"
"Request information about obtaining my policy"
"Request my password"
"Comment on your website"
"Contact you on an unlisted topic"
These are the two drop downs included in the html form. When the user submits, it sends an email using php to mail a specfic user inlcuding all the information selected/inputted into the form.
The thing I need done is for when they select something under Drop Down 1, and then something from Drop Down 2, i need it to mail to a specific email based on the choises in the drop down.
I started to make arrays and what not but I just cant follow. Is it possible for someone to post a script that will do something like this, or atleast post me the building blocks that I can easily alter to get this form to work properly?