+ 1
When a student will be solve the one question out of the 10 howe fetch the remaining question from same table in sql php
Fetching data from question table and student insert the answer of the question with get method. When user click on the back button all question is available there but i want that when user submit the answer of the one question then show the remaining question from same table
2 Respostas
+ 2
The logic here is:
User submit the form
Php gets the answer
Php sends a request to the sql data base right answers table
Php than checks it if the right answer is equals to the users answer
If yes the php sends a request to sql databases questions table for the next question
+ 2
If you wanna know how to use php for sql request check out the link below
https://www.w3schools.com/php/php_mysql_connect.asp