Part 2: In the same file, write a form consisting of a single text field and a submit button. The “action” attribute to
Posted: Sun Jul 03, 2022 11:24 am
Part 2: In the same file, write a formconsisting of a single text field and a submit button. The “action”attribute to the form should be the same page that the form is on(don’t hard code, use $_SERVER[‘PHP_SELF’]).The form should send the contents of the text field via GET.
Upon submitting the form, you should be redirected to the samepage, but the URL should contain the string from the text field asa GET request normally behaves.
Upon submitting the form, you should be redirected to the samepage, but the URL should contain the string from the text field asa GET request normally behaves.