In the server-side PHP code to deal with the form data, what is the value of $_POST[‘list’] ?

Posted by: Pdfprep Category: 200-710 Tags: , ,

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’] ?
A . 1
B . 2
C . two
D . null

Answer: C

Leave a Reply

Your email address will not be published.