The self-submitting form below is part of a larger PHP file….
The self-submitting form below is part of a larger PHP file. The PHP code already reads and filters data passed in from the form and saves the values in two variables $instructions and $how, which map to the INPUT and SELECT respectively. $instruction will contain a string if valid data is passed in, otherwise it will be set to NULL $how will be set to either “delivery” or “pickup” when valid, otherwise it will be set to NULL. Edit the form so that when valid values are passed in the user will see them in the appropriate fields in the form. The user should not see invalid values. The output should not be vulnerable to XSS attacks. You only need to worry about the INPUT and the SELECT/OPTION. The rest of the form should not change.