nerdexam
Zend

200-550 · Question #193

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 correct answer is D. on. See the full explanation below for the reasoning.

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

(45 responses)
  • A
    2% (1)
  • B
    7% (3)
  • C
    9% (4)
  • D
    82% (37)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice