View Single Post
Old 11-29-2012, 09:28 AM   PM User | #4
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 446
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
Just a heads up this belongs in the general Web Building side of the forum. It wil require more than html and css.

Start out by breaking everything into pieces, and looking up how to do that piece.

First you'll need html and css to design a quiz form.

You'll need to collect information from the form using PHP. So look into $_POST or $_GET

If you plan to have each quiz ask 20 random questions then you will need a large collection of questions the code can pull at any given time. So look into MySql databases. Look into pulling data randomly out of DBs. i would create a DB and insert numerous questions into it, and use php to write a script that pulls 20 questions out randomly per quiz.

You'll need to look into form validation.

And so on.

Just break it into pieces and learn each piece. I'd start with a three question quiz. Something that simply has you answer three questions, collects them, and grades it using if else statements.

I don't want to flat out code this for you. Forms are a pretty complicated part of web design. So be sure to read as muc has you can over them.

Good luck!
__________________
--
Thanks!
stevenmw is offline   Reply With Quote
Users who have thanked stevenmw for this post:
Samal (12-01-2012)