nerdexam
Zend

200-710 · Question #217

The following form is loaded in a recent browser and submitted, with the second select option 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.

Web Features

Question

The following form is loaded in a recent browser and submitted, with the second select option 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

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    5% (2)
  • C
    84% (31)
  • D
    8% (3)

Topics

#select element#$_POST#form submission#option value

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice