Jump to content

php capture choice dropdown


bishop2001

Recommended Posts

Greetings,

how can i capture the choice that a user has selected from my drop down menu:

 



<form name="jumpp">
<select name="menu">
  <option selected disabled hidden value=''></option>"
  <option value="NewYork">New York</option>
  <option value="London">London</option>
</select>
</form>


 

i tried the following with no luck.



Welcome <?php echo $_POST["menu"]; ?>


 

thanks

 

Link to comment
https://forums.phpfreaks.com/topic/289123-php-capture-choice-dropdown/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.