View Single Post
Old 11-18-2012, 08:21 AM   PM User | #2
minder
Banned

 
Join Date: Oct 2012
Posts: 81
Thanks: 0
Thanked 4 Times in 4 Posts
minder can only hope to improve
Not sure what you mean by "out on the edge" but storing data (quiz answers etc etc etc) is a very common task and is the general concept behind all database (dynamic) driven websites.

Storing/retrieving data in a database is done server side and so you'll need a server side language like PHP, ASP, Java and not javascript which is a client side language.

Basically, when a user logs in you store their userID in a session variable. You then givem them a html form with the quiz qustions. When they click the form's submit button, their answers are sent to a server side script which first validates and santises the form data before using sql commands via the server side language to store the sent form data in a database table(s) and link it to the userID.

Last edited by minder; 11-18-2012 at 08:24 AM..
minder is offline   Reply With Quote