Need PHP help : (
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 ^_^
passing values with hidden fields in forms should be the easiest way, if you don't want to get into sessions.
Otherwise search for session topics in this forum or at devshed, I think almost every answer has been given already.
Ah. Passing values with hidden fields was what I was doing but somehow it didnt seem very efficient. I think I will take a crack at sessions so I'm off to find a good tutorial.
If anyone can post a good one i'd be very grateful. ^_^
drop by www.phpbuilder.org
they have a few good articles there that should help.