I have created a muilti-page PHP form that inserts the results into a MySQl database and works fine, the only issue I have is when I try to go back I get the 'Confirm Form Resubmission''ERR_CACHE_MISS' error page.
Php isn't my strongest language and need a bit of help with fixing it.
its a 20 page survey with each page having radio buttons with a choice of 1 to 10.
Sample of my code below, any advice would be great.
Cheers
<?php session_start();
$_SESSION['answer_04'] = $_POST['answer_04'];
?>
<form action="peem-05.php" id="peem" method="post">
<ul class="answers">
<li class="group1"><input type="radio" id="radio1" name="answer_05" value="1" data-msg-required="Please choose an answer bewteen 1 and 10" required><label for="radio1"><br>1</label></li>
<li class="group1"><input type="radio" id="radio2" name="answer_05" value="2" required><label for="radio2"><br>2</label></li>
<li class="group2"><input type="radio" id="radio3" name="answer_05" value="3" required><label for="radio3"><br>3</label></li>
<li class="group2"><input type="radio" id="radio4" name="answer_05" value="4" required><label for="radio4"><br>4</label></li>
<li class="group3"><input type="radio" id="radio5" name="answer_05" value="5" required><label for="radio5"><br>5</label></li>
<li class="group3"><input type="radio" id="radio6" name="answer_05" value="6" required><label for="radio6"><br>6</label></li>
<li class="group4"><input type="radio" id="radio7" name="answer_05" value="7" required><label for="radio7"><br>7</label></li>
<li class="group4"><input type="radio" id="radio8" name="answer_05" value="8" required><label for="radio8"><br>8</label></li>
<li class="group5"><input type="radio" id="radio9" name="answer_05" value="9" required><label for="radio9"><br>9</label></li>
<li class="group5"><input type="radio" id="radio10" name="answer_05" value="10" required><label for="radio10"><br>10</label></li>
</ul>
<a href="javascript:history.back(1)"><img class="backButton" src="img/back-button.png"/></a>
<button class="rightArrow" name="submit" type="submit" value="Next" ><img class="backButton" src="img/next-button.png"/></button>
</form>