×
×
Correct!
If the form in the white section below gets submitted, how can you, in welcome.php, output the value from the "first name" field? <form action="welcome.php" method="get">
First name: <input type="text" name="fname">
</form>
<html>
<body>
Welcome <?php echo @(14); ?>
</body>
</html>
<form action="welcome.php" method="get">
First name: <input type="text" name="fname">
</form>
<html>
<body>
Welcome <?php echo $_GET["fname"]; ?>
</body>
</html>
<form action="welcome.php" method="get">
First name: <input type="text" name="fname">
</form>
<html>
<body>
Welcome <?php echo $_GET['fname']; ?>
</body>
</html>
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 47 exercises.
Are you sure you want to continue?