Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2006-04-19
3
Medium Priority
?
315 Views
Last Modified: 2006-11-18
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?
0
Comment
Question by:webfxonline
  • 2
3 Comments
 
LVL 11

Expert Comment

by:star_trek
ID: 16487846
Have a database table
id, type of cancer, email

depending on the type_of_cancer query the database for the email.
0
 

Author Comment

by:webfxonline
ID: 16487887
I was afraid of that.  Can you think of any examples to get me started in creating this?
0
 
LVL 11

Accepted Solution

by:
star_trek earned 2000 total points
ID: 16487932
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question