nerdexam
Zend

200-530 · Question #386

200-530 Question #386: Real Exam Question with Answer & Explanation

Sign in or unlock 200-530 to reveal the answer and full explanation for question #386. The question stem and answer options stay visible for context.

Question

You have been given the following PHP script: Zend 200-530 Exam 1. <?php 2. if ($_POST) { 3. echo '<pre>'; 4. echo htmlspecialchars(print_r($_POST, true)); 5. echo '</pre>'; 6. } 7. ?> 8. <form action="action.php" method="post"> 9. Name: <input type="text" name="personal[name]" /><br /> 10. Email: <input type="text" name="personal[email]" /><br /> 11. Code: <br /> 12. ????????????????????????????? 13. <option value="A">A</option> 14. <option value="B">B</option> 15. <option value="C">C</option> 16. </select><br /> 17. <input type="submit" value="submit me!" /> 18. </form> Which of the following is the correct syntax that should be used in line number 12 to capture all of the data from the user in PHP?

Exhibit

200-530 question #386 exhibit

Options

  • A<select multiple name="select_box[multiple]">
  • B<select multiple name="select_box=array()">
  • C<select multiple name="select_box[]">
  • D<select multiple name="select_box">

Unlock 200-530 to see the answer

You've previewed enough free 200-530 questions. Unlock 200-530 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 200-530 Practice