Please debug my very first web project. The idea is of a quiz with almost 25 questions with radio buttons representing options. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please debug my very first web project. The idea is of a quiz with almost 25 questions with radio buttons representing options.

The user can select an option which is send to the server on the click of a button which also acts as a link to the next question. But I'm not able to implement that. Can a submit button act as act as a link too? How to check whether any option is selected using the php code? Also I need to disable the back button of the browser and also require a timer as well. How can I implement them? Also the users must not be allowed to do anything if the time ends. Please help! Github:github. com/jamesgeorge007

6th Apr 2017, 8:36 AM
jamesgeorge
jamesgeorge - avatar
1 Answer
0
you can search for different ways to disable back button but not all of them works. it depends on many things like the browser someone is using. for the first part of your question: contain your question and options inside a form and handle the user's input on another page like <form action="page2.php">. i dont know what languages do you use.
16th Apr 2017, 10:54 PM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar