Question
1) Create a web page (with a .html ending, not PHP). This file will contain a form with three textboxes (name, student id, e-mail address).
1) Create a web page (with a .html ending, not PHP). This file will contain a form with three textboxes (name, student id, e-mail address). When the user clicks a submit button for the form, the form will call the program assignment2.php. You can decide if you want to use "get" or "post".
2) The assignment2.php program will use the "get" or "post" (depending on which one you selected in part 1) to retrieve the information.
The information in the name textbox will be retrieved and placed into an array $student.
The echo statement will be used to retrieve the values in the array and to display a similar statement to the one below.
"Welcome Steve Smith. Your student id number is 900012222. Your e-mail is ssmith@skd.com. We hope you enjoy your visit to this site".
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started