In a fomulário I have this link:
<a href="chk-gerente.php?nro_pergunta=<?php echo $nro_pergunta; ?>">Próximo</a>
And this button:
<button type="submit" class="btn btn-default" >REPONDER</button>
Please try again later. This is a system of questions, which list asks the question. The next link brings up the new question and the responder does the GET method by inserting it into the database. Is it possible to pass the next link inside the button doing one thing? type, when I click on answer it would do the insert and soon after would bring the next question? Something like this:
<button a href="chk-gerente.php?nro_pergunta=<?php echo $nro_pergunta; ?>"
type="submit" class="btn btn-default" >REPONDER</button>
I've tried it that way and it did not work.