php - Best method for storing quiz results in MySQL -


i'm trying record test/quiz scores in database. what's best method when there might lot of tests , users?

these options considered: should create new column each quiz , row users, or have limitations? might slow? should create new row each user & quiz? should stick original 'user' database , encode in text?

elaborating little on plan: javascript quiz, submits score ajax, , script sends database. i'm new php i'm not sure approach.

any appreciated :) school science fair

i create database table, maybe 1 lists students(name, dob, student id), , 1 tests(score, date, written by). access db, or can students access too? if latter case, need make sure create accurate security or "views" ensure student can see own grades @ time (not everyone's).


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -