Zend
200-530 · Question #26
The following form is loaded in a recent browser and submitted, with the second list element selected: <form method="post"> <select name="list"> <option>one</option> <option>two</option>…
The correct answer is C. two. See the full explanation below for the reasoning.
Question
The following form is loaded in a recent browser and submitted, with the second list element selected: <form method="post"> <select name="list"> <option>one</option> <option>two</option> <option>three</option> </select> </form> In the server-side PHP code to deal with the form data, what is the value of $_POST ['list']?
Options
- A1
- B2
- Ctwo
- Dnull (since the <code> value attribute of the list has not been set)
How the community answered
(33 responses)- A3% (1)
- B3% (1)
- C85% (28)
- D9% (3)
Community Discussion
No community discussion yet for this question.