What is defining $pulldown? $pulldown and $pulldown_array aren't the same variables.
You're collecting the displayed email data through a $_POST from the form. The value submitted through the form is "1", which is the key of the menu array, whereas "Option A" is the value of that key.
Without seeing how you've set up $pulldown, you might try something like:
And so on.PHP Code:if ($_POST['pulldown'] == '1') {
$email_display = 'Option A';
} elseif ($_POST['pulldown'] == '2') {
$email_display = 'Option B';
}


Reply With Quote
