I have the oddest problem. I can't figure out whats wrong. I have a form, then a confirmation screen that shows you what you outputted and then finally a screen that says thanks for your data.
The code looks something like this
if($accept){
//add the data to a database
} elseif($confirmation){
//show the data from the form
} else {
//output the form
}
Its a fairly standard way of doing this, I understand, and I've done it successfully before.
My problem is this, if in the confirmation section I output more than two of the form variables, my back button doesn't work. I click back and it stays at the same page. I click back again and it goes to the page I was at before I came to the first form. However, if I'm at the confirmation and I click back, and then refresh, it then shows the form again. I tried unsetting $confirmation, I tried using isset(), flush()...I tried everything I could think of. I've tried it on other systems in different versions of IE.