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.
Part 2: In the same file, write a form consisting of a single text field and a submit button. The “action” attribute to
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am