I have created a small quiz in PHP, that asks you a series of yes/no questions and then tells you the answer at the end. I am trying to use PHP sessions so that if the user only gets half way through the quiz, for example then when they close their browser and re-open it it will be on the same question as when they left. Below is the code for one of the forms I am using.
<div class='questions'>
<form method ='GET' action='Creatures.php'>
<input type='submit' name='answer$number' value='Yes' class='buttons' />
<input type='submit' name='answer$number' value='No' class='buttons' />
</form>
</div>
If you want to see the quiz go to s504518.brunelweb.net/Creatures.php . I am not sure how to do this though as I haven't used sessions before, any help would be much appreciated.
SHIFTkey)