Single Php File Script

I need a PHP file which will contain the following:

– A form
– 7 questions. Each question has 3 radio buttons for answers (Answers are A, B and C)
– A submit button

What the user sees is the 7 questions and possible answers and the submit button.

When the user select the answers for all 7 questions and hits the submit button
instead of the form appears a message:

“Thanks for taking this test. Your points: x”

Points are calculated in the followin way:

All A answers count for 1 point
All B answers count for 2 points
All C answers count for 3 points

(So… the maximum points a user can get is when they select all 7 answers as C. That is 7X3=21)

Form should be validated. All fields required.

Radio buttons are not selected by default.

No DB should be used for this… Flat PHP file needed

The file should be able to be included (PHP) in other PHP files

After the page is refreshed to present the result it should focus on the presented message (Thanks for ………. points: x).

The quicker you will be able to complete this project the better… If you start immediately (this is a fairly easy task), I will likely select your bid…

Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *