Question: Exercise 6 This exercise incorporates session variables to store information about the user that can be retrieved on subsequent php pages whenever needed. Exercise 6
Exercise This exercise incorporates session variables to store information about the user that can be retrieved on subsequent php pages whenever needed. Exercisehtml in the practicalsweek folder of your TWA web site contains a form which will capture your name and favourite hobby. The form submits to exercsiephp Note: Do NOT change the content of this file in any way. A Create a php page named exercisephp in the practicalsweek folder. This is the action for the form in exercisehtml The exercisephp file should receive the data from the exercisehtml form and store the values into appropriate session variables. The only output on page exercisephp will be a hypertext link which links to exerciseaphp the second of two php files that you will create B Create a second php page, exerciseaphp in the practicalsweek folder. This file is to retrieve the session variables that were created by the exercisephp page. After retrieving the session variables from the server, the page should display the values in an appropriate way
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
