Okay looking back it might not be quite clear. If the user chose Option1 and submitted the form, $_POST['varDropdown'] (or $varDropdown) is equal to the string 'option1'
Likewise, if Option2 was chosen from the dropdown, $_POST['varDropdown'] would be equal to 'option2'
You can check the output with print_r($_POST), although I tend to use echo(nl2br(print_r($_POST,TRUE))) to check output because I like the format better.
|