Question: task4.html Week 9 Exercise 3 form Hobby Selection Page Your Name: Favourite hobby : please choose an option Stamp Collecting Movies Golf Bush Walking Music

task4.html
Hobby Selection Page
Exercise 4 . Create 2 php pages. The first page, exercise4.php, is the action for the form in task4.html. The exercise4.php file should receive the data from the task4.html form and store the values into appropriate session variables. The only output on page exercise4.php will be a hypertext link which links to exercise4a.php (the second of the two php files that you will create). The second php page: exercise4a.php, is to retrieve the session variables that were created by the exercise4.php page. After retrieving the session variables from the server, the page should display the values in an appropriate way. If the session variables have not been created the exercise4a.php page should automatically redirect to task4.html. Note: this will logically only be the case if the user tries to visit exercise4a.php directly without filling in the form in task4.html and submitting it first. task4.html exercise4.php exercise4a.php Lets visit the second page Hobby Selection Page Hello Ana Gram. Your hobby is music Go to the starting form Your Name: Favourite hobby please choose an option Submit Form Validate the scripts under the C:/XAMPP/htdocs and Save theses files as to C:/TWA/Practicals/PracSet2/week9Tasks folder
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
