\"Quiddle,
"; /////////////////////////end of top styles $sql = "create table $answers (id int(5) auto_increment,"; for ($i=1;$i < ($number + 1); $i++) { $sql .= " answer$i varchar (255),"; } $sql .= "primary key (id))"; //echo "Create answers is $sql
"; $result = mysql_query($sql); if (!$result) echo mysql_error(); if ($result) echo "

Quiz table created


"; echo "Now you can enter your questions
Make sure the first answer is the correct one
You DON'T need to add a question mark after each question

"; echo "
"; for ($x=1;$x < ($number + 1); $x++) { echo "Question $x:

"; echo "Correct Answer:

"; echo "Incorrect Answer:

"; echo "Incorrect Answer:

"; echo "Incorrect Answer:


"; } echo ""; echo ""; echo "
"; ///////////////////////styles the bottom of the page echo "
© 2007 Quiddle, Inc.
"; ///////////////////////end of styles exit(); } ?> Quiddle.com

Create A Quiz

Enter a title for the quiz


Enter the number of questions