Question
By PHP (Sessions, Arrays, UserDefined Functions) Please, I need to create a Personality Test consisting of at least three questions, one question per page. Here
By PHP (Sessions, Arrays, UserDefined Functions)
Please, I need to create a Personality Test consisting of at least three questions, one question per page. Here is an example of what the first page might look like this photo below :
When the user clicks continue, they will see an error if they did not make a selection:
When the user properly enters their information and clicks continue they will go to the next question page:
then, when the user click continue they will either see the error or advance to the third page:
When the user has finished answering questions, they should see a summary of their results and their diagnosed personality. The data is passed to this page using Sessions.
Here is a sample diagnosis. Feel free to come up with your own:
As are worth 1 point, Bs are worth 2 points,
Add all the points together, and then give them the mapped personality: Score | Personality |
3 or Less | You are a Frog |
Between 4 and 6 | You are an Ant |
Between 7 and 9 | You are a Donut |
Greater than 9 | You are always hungry |
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