New Year Sale ! 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:

Stacey
1 months ago
As a seasoned PHP developer, I can confidently say the answer is C) two. Isn't it obvious?
upvoted 0 times
Lettie
10 days ago
B) 2
upvoted 0 times
...
Rosendo
19 days ago
A) 1
upvoted 0 times
...
Nakisha
23 days ago
I'm pretty sure it's C) two as well.
upvoted 0 times
...
Jesse
24 days ago
Are you sure about that? I believe it's A) 1.
upvoted 0 times
...
Nikita
30 days ago
No, it's actually C) two.
upvoted 0 times
...
Isabella
1 months ago
I think the answer is B) 2.
upvoted 0 times
...
...
Holley
2 months 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
Filiberto
1 months ago
I can't believe some people still chose A) 1 or D) null, they must not be using a recent browser.
upvoted 0 times
...
Detra
1 months ago
I went with C) two, I think that's what the server-side PHP code will receive.
upvoted 0 times
...
Jolanda
1 months ago
I chose B) 2, I hope that's the correct value.
upvoted 0 times
...
...
Janessa
2 months 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
Yolande
15 days ago
I believe it's C) two. The server-side code should receive the actual string value of the selected option.
upvoted 0 times
...
Linette
22 days ago
I'm not sure, but I think it's A) 1. The server-side code might receive the index of the selected option.
upvoted 0 times
...
Walker
1 months 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
2 months 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
2 months 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
Rosalia
30 days ago
You're welcome!
upvoted 0 times
...
Miesha
1 months ago
Oh, I see. Thanks for clarifying.
upvoted 0 times
...
Allene
2 months ago
No, it's B) 2. The value submitted will be '2'.
upvoted 0 times
...
Leonor
2 months ago
I think it's C) two
upvoted 0 times
...
...
Maybelle
2 months ago
I believe the value of $_POST['list'] will be '2'.
upvoted 0 times
...
Cherri
2 months ago
I think the value of $_POST['list'] will be 'two'.
upvoted 0 times
...

Save Cancel