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 16/26

    Consider the following PHP code snippet:

    
    <form method=get>
        <select name ="fruits" id="fruits">
            <option value="1">Apple</option>
            <option>Orange</option>
            <option value="3">Strawberry</option>
        </select>
     <input type="submit" value="Submit">
     <?php
        echo $_GET['fruits'];
     ?>
    
    
    What will be the output if you select 'Orange' from the dropdown menu?