Hello ^_^

I am trying to make a quiz in PHP. Since there are many questions I want to do the quiz over 5 pages or so.

Now my problem is how do I retain the varibles and their vaules from the first page to the last page that will process the data.

I got one way to work but I know it isnt very efficent and I was wonderng what would be the most efficent soulution and how to implement it. I'm assuming it be some sort of session thing with cookies perhaps. But since I'm new to programing and PHP I really dont know how to do this. Thanks in advance ^_^