Thanks, but ...
... i"m afraid I still can't get it to work
I tried like this -
________________________________________
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
//$RecipientEmail = "leifbaker64@hotmail.com";include("WA_Universal_Email/WAUE_forms_1.php");
switch((isset($_POST["select"]))?$_POST["select"]:"") {
case "AL":
$RecipientEmail = "leifbaker@nj.rr.com";include("WA_Universal_Email/WAUE_forms_1.php");
break;
case "AK":
$RecipientEmail = "leifbaker64@hotmail.com";include("WA_Universal_Email/WAUE_forms_1.php");
break;
case "AZ":
$RecipientEmail = "leifbaker64@yahoo.com";include("WA_Universal_Email/WAUE_forms_1.php");
break;
}
//Send Mail All Entries
if (""!="") {
header("Location: ");
}
}
______________________________________________________
but that didn't work.
I tried a couple other ways, also , with equal results (none).
Can you tell me exactly how I should set this switch up?
Thanks,
Leif Baker