Zend PHP 5.3 Certification Exam


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
  • Question 14/26

    You have been given the following PHP script:

    
    <?php
    if ($_POST) 
    {
       echo '<pre>';
       echo htmlspecialchars(print_r($_POSTtrue));
       echo '</pre>'; 
    }
    ?> 
    <form action="action.php" method="post">
       Name:  <input type="text" name="personal[name]" />
       Email: <input type="text" name="personal[email]" />
       Code: 
       ?????????????????????????????
       <option value="A">A</option>
       <option value="B">B</option>
       <option value="C">C</option>
       </select> 
       <input type="submit" value="submit me!" />
    </form>
    
    Which of the following is the correct syntax that should be used in line number 13 to capture all of the data from the user in PHP?