Hello everyone, I'm trying to think of a logic to make a question system with php but I caught it in relation when the user finishes asking question 1 he will give submit to next there would appear question number 2 and so on but my problem is that I'm not able to think how to make it as soon as I submit it goes to issue 2 without being the same as before.
<?php
while($row = $result->fetch_assoc())
{
$db_questoes = $row['id_questao'];
if($db_questoes == 1 ){
echo nl2br($row['questao_biologia']);
}
}
?>
Here is only the first one but I can not think how to make it automatic, as soon as question 1 is finished, it will appear question two.