Greetings, I have made a form where the visitor is able to choose to which e-mail address he wants to send it to, only it does not work ...
here is the html bit
<select name="destination">
<option value="Windhoek" selected>Windhoek</option>
<option value="Central Europe">Central Europe</option>
<option value="UK & Ireland">UK & Ireland</option>
<option value="Cape Town">Cape Town</option>
<option value="Johannesburg">Johannesburg</option>
</select>
...and the PHP bit
//========Receivers adress=============
switch($_POST['destination'])
{
case "Windhoek":
$email = "me@somewhere.com";
break;
case "Central Europe":
$email = "you@somewhere.com";
break;
case "UK & Ireland":
$email = "he@somewhere.com";
break;
case "Cape Town":
$email = "she@somewhere.com";
break;
case "Johannesburg":
$email = "it@somewhere.com";
break;
}
Am I missing something obvious?