Question: PHP code that is given : Exercise 2 - GET Echo body { margin:0; padding:0; font-family: Arial; } form { margin:20px; } input[type=text], input[type=password] {

PHP code that is given :
// An example is already given to you for the First Name
$fname = $_GET['fname']; ?>
Echoed GET Values
First Name:
You have been given the file exercise-2.php. This file contains a HTML form with various inputs. Your task is to echo out the values passed by the form to itself (exercise-2.php) via a GET request. What you are doing is called a callback. You are to display all the values entered or chosen by the user in the form within the provided section of the exercise-2.php file: Echoed
GET Values To get full marks in this task the password must be hidden with the use of '#'. There is to be the same amount of '#' characters for the number of characters in the password input by the user. For example: If the user entered the password 'dinosaur' it should display (8 '#' characters) Password = ######## Also, there must be no errors displayed for instance undefined index
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
