Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 :

image text in transcribed

When the user clicks continue, they will see an error if they did not make a selection:

image text in transcribed

When the user properly enters their information and clicks continue they will go to the next question page:

image text in transcribed

then, when the user click continue they will either see the error or advance to the third page:

image text in transcribed

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.

image text in transcribed

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

Personality Test Time to find out more about your personality. When completing your personality test, remember to select the first option that comes to your head. Don't overthink it ;-) 1) When you see a chicken what is your first reaction? Wonder why she's not crossing the road I better get out of here Start making clucking noises Think about how it tastes continue Personality Test Time to find out more about your personality. When completing your personality test, remember to select the first option that comes to your head. Don't overthink it ;-) 1) When you see a chicken what is your first reaction? * pick one Wonder why she's not crossing the road I better get out of here Start making clucking noises Think about how it tastes continue Personality Test Time to find out more about your personality. When completing your personality test, remember to select the first option that comes to your head. Don't overthink it ;-) 2) How many times do you brush your teeth per day? What's brushing your teeth? I brush them most days N continue Personality Test Time to find out more about your personality. When completing your personality test, remember to select the first option that comes to your head. Don't overthink it ;-) 3) When you look at the clouds what do you see? I don't it hurts my eyes Seattle Little Characters Stop asking me stupid questions continue Personality Test Question Results Answer 2: d Answer 3: d Answer 4: C Total Score 11 Personality Type You are always hungry

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions