Question:Consider the following form and subsequent script. What will the script print out if the user types the word “php” and “great” in the two text boxes respectively?<form action="index.php" method="post">
<input type="text" name="element[]">
<input type="text" name="element[]">
</form>
<?php
echo $_GET['element'];
?>
+ ExplanationSince the form is submitted using a POST HTML transaction, whatever values are typed in
the text boxes are only going to be available in the $_POST superglobal array. Therefore, Answer C is correct, since the $_GET array won’t contain any values and PHP will issue a notice to this effect.