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.
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