0

Get next data from database through button click

To create quiz page , Get options and questions under id =1 from database on start . Then on clicking next button , Get options and questions under id =2 . Cant do it as not able connect button cpick and php.

1st Apr 2019, 1:54 PM
muhammed rizwan
muhammed rizwan - avatar
1 Answer
0
Create a script JQuery <script> var id = 0; function load(){ id++; $(".loader").load("load.php", { id: id }); } </script> And add the load() function to onclick on button
6th Apr 2019, 2:28 PM
Pragnesh Katkar
Pragnesh Katkar - avatar