PHP based online exam?

jackerx_05

New member
i just want some advice about this little project. my boss asked my to create an online based exam that consist of 150 questions. these questions will be randomly selected from the other 500 stored in a database. there is also a time-limit for the exam. the score must be computed immediately after the exam is finished. i want to ask if i should rather use XML as the storage for my questions instead of MYSQL? cause i think it would be more well structured but the correct answers will be stored in the database. to sum it up, the question and the answers are stored in an XML File with also a corresponding question code and then i shall store the correct answers in the MYSQL database. also the examinees are also filed up in the MYSQL database. or.... other ideas? also data security is also a factor :( all of them i think are ethical hackers.
 
php is able to calculate the score so why would you need to store each score in the database ? I would definetly use mysql to store the questions

all you need then is an online form for people to fill out that recovers the information randomly from the database

data security is not a factor if you know how to code php correctly, mysql is secure enough these days.
 
Back
Top