Posted on 2006-11-30
I’m currently working on a website and I will like to create an online quiz for customers, the quiz will have 10 questions and will have textboxes for the user to enter email, first name, last name and the answers. I will give them the answer and then 4 multiple choice for them to choose and a text box for them to enter the answer:
1) Which Country singer is nicknamed the "Gentle Giant."
A) Porter Wagoner
B) Jim Ed Brown
C) Bobby Bare
D) Don Williams
Whenever they summit the test the script will make sure that all the questions were answer and that the email, first and last fields have been enter, if the user is missing something they will get a page showing them what fields are missing.
The next step is to save that info to a csv file on my ftp site I will like to include the following fields: Date, email, first, last, a1,a2,a3,a4,a5,a6,a,7,a8,a9,a10 to the cvs file and every time users take the test keep appending data to that file.
Then last stepis to send an email to the user showing them that they either answer all of the questions right or showing them which answers the mist and what the correct answer is.
I’m not to sure what script language to use. I’m good with html, average with java and don’t know too much about cgi or perl.
I need some guidance on how to accomplish this task. I really appreciate any tips or ideas
Thanks in advance.