Jump to content

Archived

This topic is now archived and is closed to further replies.

bassplaya4string

Easiest way to make a test

Recommended Posts

I am trying to make 2 quizzes, each will have 10 questions when you answer them you will get a score and what your score means and if you forget to answer one it will ask you to go back and answer it. I was wondering what the easiest way to do this with PHP is. Any help would be greatly appreciated!

Share this post


Link to post
Share on other sites
I would center on making a simple test maker, that creates each test, so you can reuse it again and again...

a simple form...

1. create question >> select box >> write in question >> multi answer question >> single answer question
2. if ( multi answer question or single answer question) show select box (how many answers)
3. submit, it creates a form so you can enter your question and answers and select what is the correct answer!
4. add the question information to the test database (flat file or db)

Then all you need to do is create some generic templates to insert the test and a simple script that validates the test!


I think I have example test maker around here some where, if I can remember what computer it is on, I'll look and post back in a little bit!


me!

Share this post


Link to post
Share on other sites
Certainly not the best way, but once you are asking that way I presume you don't deal well with PHP.
You would get STRONGLY limited, but with dreamweaver you can manage to do more then a half that you want.

Share this post


Link to post
Share on other sites
Thanks man! That helps! if you can find that example test maker that would be awesome! (if anyone knows of a tutorial that I could take a look at, please, post a link. Thanks!)

[quote author=printf link=topic=110835.msg448702#msg448702 date=1160262733]

I think I have example test maker around here some where, if I can remember what computer it is on, I'll look and post back in a little bit!


me!


[/quote]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.