View Single Post
Old 12-01-2012, 05:31 AM   PM User | #7
Samal
New to the CF scene

 
Join Date: Nov 2012
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
Samal is an unknown quantity at this point
Quote:
Originally Posted by stevenmw View Post
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!
NO i dont want to have random question selection etc ...
just simple one . when summiiting the answer two thing should happen

display the result and store the result in a variable to use latter

plz help

Regards
Samal is offline   Reply With Quote