Help!!!! Need form results to go to specific e-mail addresses dependent upon clinical trial

I have a PHP form that submits applications for clinical trials here: http://www.stormontvail.org/cancer_ctr/  However, each trial needs to get routed to a different e-mail address depending upon the type of cancer the clinical trial is for.  What's the easiest way to accomplish this?
webfxonlineAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

star_trekCommented:
Have a database table
id, type of cancer, email

depending on the type_of_cancer query the database for the email.
0
webfxonlineAuthor Commented:
I was afraid of that.  Can you think of any examples to get me started in creating this?
0
star_trekCommented:
If there are only fixed number of trials, you can even hardcode it
like the following url needs
http://www.stormontvail.org/cancer_ctr/form.php?trialname=R9813

to be modified to
http://www.stormontvail.org/cancer_ctr/form.php?trialname=R9813&email=s@s.org

have a hidden input variable to grab the email address just as you do for trialname.
I hope this helps.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.