nerdexam
Zend

200-710 · Question #214

The following form is loaded in a browser and submitted, with the checkbox activated: `` <form method="post"> <input type="checkbox" name="accept" /> </form> `` In the server-side PHP code to deal…

The correct answer is D. on. See the full explanation below for the reasoning.

Web Features

Question

The following form is loaded in a browser and submitted, with the checkbox activated:
<form method="post">
<input type="checkbox" name="accept" />
</form>
In the server-side PHP code to deal with the form data, what is the value of $_POST['accept']?

Options

  • Aaccept
  • Bok
  • Ctrue
  • Don

How the community answered

(42 responses)
  • A
    2% (1)
  • B
    12% (5)
  • C
    5% (2)
  • D
    81% (34)

Topics

#checkbox#$_POST#form submission#HTML forms

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice