On a website I’m making for my church I have a form that gives the user the ability to send a message to a different member of the staff, they do this by selecting the persons name in a drop down box. If you go [URL=”http://calvary.spencer-designs.com/contact/”]here
[code=php]$emails = array(
‘[email protected]’,
‘[email protected]’,
‘[email protected]’);
$email = isset($_POST[‘to’]) && array_key_exists($_POST[‘to’], $emails) ? $emails[$_POST[‘to’]] : $_POST[0];
But I was wondering if they do not select “Contact Staff Member” and say that they select “general information” how can I have that email to a different e-mail address? And same for if they select “website issue”