POST method

Week 3: Form with PHP ($_POST)

I built a different form for this assignment. It is a simple rating based on general knowledge quiz. And then I used PHP (method=”post” action=””)┬áto reward a user with quiz rating based on the number of correct answers received. The rating is based on total number of quiz questions. In my case out of 4.

I have also added a simple CSS for styling.

Here is the Quiz Test!

I also tried another version to test the outcome. It is a form with a list of order and returns with processed message.

Here is the Trial Version

Advertisements