BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 8 Question 80 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 80
Topic #: 8
[All 200-710 Questions]

The following form is loaded in a recent browser and submitted, with the second select option selected:

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

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Holley
8 days ago
Haha, people who chose A) 1 or D) null must be living in the past! This is a recent browser, remember?
upvoted 0 times
Detra
18 hours ago
I went with C) two, I think that's what the server-side PHP code will receive.
upvoted 0 times
...
Jolanda
3 days ago
I chose B) 2, I hope that's the correct value.
upvoted 0 times
...
...
Janessa
19 days ago
I'm going with C) two. The value sent to the server should be the actual string 'two', not the numeric index.
upvoted 0 times
Walker
5 days ago
I agree with you, it should be B) 2. The server-side code will receive the numeric index of the selected option.
upvoted 0 times
...
Letha
7 days ago
I think it's B) 2. The value sent to the server should be the numeric index of the selected option.
upvoted 0 times
...
...
Jesse
23 days ago
Definitely B) 2. The second option in the select is clearly 'two', so that's the value that will be submitted.
upvoted 0 times
Miesha
2 days ago
Oh, I see. Thanks for clarifying.
upvoted 0 times
...
Allene
14 days ago
No, it's B) 2. The value submitted will be '2'.
upvoted 0 times
...
Leonor
15 days ago
I think it's C) two
upvoted 0 times
...
...
Maybelle
26 days ago
I believe the value of $_POST['list'] will be '2'.
upvoted 0 times
...
Cherri
27 days ago
I think the value of $_POST['list'] will be 'two'.
upvoted 0 times
...

Save Cancel