PHP
Exercise 6 / 15
PHP Forms (GET/POST)
Medium
20 points
Create an HTML form with a text field "name" and process it in PHP: if the form is submitted (POST), display "Hello [name]".
PHP forms collect user data. $_POST contains POST data, $_GET contains GET data.
Well done! 🎉
Your answer is correct! You earned 20 points.
Not quite...
Try again! You can do it.
Your code
PHP
Result