Next Nov 3 Previous
Double posting?
Suppose we have the following Web form:
<form action="report.php" method="post"> Value 1: <input type="text" name="value" /> Value 2: <input type="text" name="value" /> <button type="submit">Send</button> </form>
And the following script to process the data:
<?php echo $_POST["value"] . " " . $_POST["value"]; ?>
What will it display in your browser if you fill in the values "double" and "post"?
A: "double post"
B: "Array Array"
C: "double double"
D: "post post"
E: An error