SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jun 2001
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need PHP help : (

    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 ^_^

    Mike

  2. #2
    SitePoint Member
    Join Date
    Jun 2001
    Location
    germany
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

    greetings bombel

  3. #3
    SitePoint Member
    Join Date
    Jun 2001
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hmm

    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. ^_^

    Mike

  4. #4
    Talk to the /dev/null Theiggsta's Avatar
    Join Date
    Mar 2001
    Location
    Tampa, FL
    Posts
    376
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    drop by www.phpbuilder.org

    they have a few good articles there that should help.
    Aaron "Theiggsta" Kalin
    Pixel Martini
    Ruby and Rails Developer


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •