PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The code below is a just a sample. What I'm trying to do is when I click on the submit button I would like to have the option selected display. Unfortunately for me I'm getting the option value displayed. Can anyone help me please
The HTML form only sends through the name of the field which in this case is myselect and the value which for example would be 0. If you wanted the name then you will have to rethink your value field.