View Full Version : How do I create a results page?


forlisa
07-27-2009, 05:55 AM
I need help. I have been trying and trying to put a quiz on my website. I have been frustrated to say the least. I have looked everywhere and could not get the right looking results, or some other problem would come up that would not give me what I am looking for. For instance, Quizilla is easy to create a test, but they put their information on the test and results page. I do not want that.

I hope I am explaining this correctly. So here goes.

All I am trying to do is to provide a custom safety checklist based on how a quiz taker answer 13 questions.

I have created a test (you can take a look by clicking here (http://www.little-safe-one.com/quiz00php.html).) I like how this came out.

However, when I click on the "Get Personalized Checklist" this is where I get stuck. I have never created a test before. And based on what I could find on the internet, I have tried to create a results page, but I cannot get a result. So my question is this:

1. How do I get the "Username:" box off of the test page. And...

2. How do I create a results page?

Basically, based on the quiz taker's answers, the results would be as follows:


1. Apartment Safety and Condo Safety

• Move furniture or other items away from balcony and deck railings.
• Lock doors that access the balcony.
• Install window-safety devices on all windows.
• All hazardous materials are kept out of reach or little ones.
• Install carbon monoxide detectors and smoke detectors outside every bedroom and on every level of your house.
• Install safety doorknob covers on every door leading outside.
• Make sure house plants are out of reach of children.<P>

2. Townhouse Safety and General House Safety

• Make sure all cleaning products are out of reach of little ones and stored away from food.
• Make sure all alcoholic beverages are stored away in a locked cabinet.
• Install window-safety devices on all windows.
• Install carbon monoxide detectors and smoke detectors outside every bedroom and on every level of your house.
• Install safety doorknob covers on every door leading outside.
• Make sure house plants are out of reach of children.

3. Stairway Safety

• Install safety gates at the top and bottom of the stairs.
• Make sure your hand railing is properly installed.
• See if there are any loose snags in the carpet.
• Keep the area near the stairs clutter-free.
• If you have steps outside your home, keep them free of ice and snow.

"You answered no". (This would be the result to any question that was answered no.

Above, I only put 3 results, (if I added all the results, I would go over the 5000 characters limit to post a new thread.) but I would need 14. I hope I am explaining this correctly and thanks in advance for all of your help.

iGeek
07-27-2009, 06:58 AM
Your source code is an absolute mess. Your entire page, excluding your head and some random tags, are all on one line. You're using font tags which are deprecated, unsupported, and invalid. Some of your JavaScript placement is incorrect or another element's tag is misplaced.

I tried to use an SGML cleaner to attempt an XHTML validation of your source, but it came out crippled. I suggest you clean up your code by indenting and spacing lines and such. Before we can begin to help you with your true question, we need to understand your code.

As for your first question, search and delete "<p>Username: <input type="text" name="name"></p>" from your page's source.