dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: How do I save quiz results

  1. #1
    Join Date
    Nov 2008
    Posts
    2

    How do I save quiz results

    I created an online quiz in my website. The quiz taker get his/her results, but I want to find a way to store the results, so I can keep track of how good or bad people are doind in this quizes.

    This the source from my webpage

    <html>
    <head>
    <title>What is your Right Whale IQ?</title>
    </head>
    <body>
    <h1>Find Out What is your Right Whale IQ</h1>
    <form action="results.php" method="POST">

    <p>How much do you know about Right Whales? Take this short quiz to find out your right whale IQ and help MRC gauge how well it's education programs are working. Please answer a few simple questions


    </div/>

    <br class="clear"/>

    <h2>True or False</h2>


    <b>Question 1: Is it best to report a whale sighting as soon as possible?</b><br>
    <input type="radio" name="q1" value="yes"> True <br>
    <input type="radio" name="q1" value="no"> False <br>

    <b>Question 2: The right whale sighting hotline number is 1-800-97-WHALE?</b><br>
    <input type="radio" name="q2" value="yes"> True <br>
    <input type="radio" name="q2" value="no"> False <br>

    <b>Question 3: One reason why right whales are hard to see from ships is that they do not have a dorsal fin on their back?</b><br>
    <input type="radio" name="q3" value="yes"> True <br>
    <input type="radio" name="q3" value="no"> False <br>

    <b>Question 4: Right whales only go as far south as Ft. Pierce, Fl?</b><br>
    <input type="radio" name="q4" value="yes"> True <br>
    <input type="radio" name="q4" value="no"> False <br>

    <b>Question 5: Right whales migrate to Florida to feed for the winter?</b><br>
    <input type="radio" name="q5" value="yes"> True <br>
    <input type="radio" name="q5" value="no"> False <br>

    <b>Question 6: Any time of the day is a good time to look for right whales?</b><br>
    <input type="radio" name="q6" value="yes"> True <br>
    <input type="radio" name="q6" value="no"> False <br>

    <b>Question 7: Photographs can be useful to identify a particular whale?</b><br>
    <input type="radio" name="q7" value="yes"> True <br>
    <input type="radio" name="q7" value="no"> False <br>

    <b>Question 8: You should report a whale sighting to MRC's hotline only if you are sure it is a right whale:</b><br>
    <input type="radio" name="q8" value="yes"> True <br>
    <input type="radio" name="q8" value="no"> False <br>

    </div/>

    <br class="clear"/>

    <h2>Multiple Choice</h2>
    <p>There may be more than one correct answer. Please check any/all that apply

    </div/>

    <br class="clear"/>


    <b>Question 9: Which of the following describes the flipper of a right whale:</b><br>
    <input type="radio" name="q9" value="a"> a. long, narrow, white on both side<br>
    <input type="radio" name="q9" value="b"> b. short, stubby, black on both side<br>
    <input type="radio" name="q9" value="c"> c. short narrow, white on top, black on bottom<br>
    <input type="radio" name="q9" value="d"> d. long, black, rogh on the edges<br>


    <br>
    <input type="submit" value="Determine Your Whale IQ">
    </form>
    </body>
    </html>

  2. #2
    Join Date
    Nov 2008
    Posts
    1
    See if this helps: http://www.phpaugusta.com/index.php?...=53&topic=97.0

    It describes how to use a text file to store data.

  3. #3
    Join Date
    Nov 2008
    Posts
    2
    Thanks Kanonen80. I'll check out the website

  4. #4
    Join Date
    Sep 2009
    Posts
    3
    Quote Originally Posted by Kanonen80 View Post
    See if this helps: http://www.phpaugusta.com/index.php?...=53&topic=97.0

    It describes how to use a text file to store data.
    I have the same question Ponchi did, but that link doesn't work anymore... Does anyone know how to use a text file to store data?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles