At 4:12 PM +0100 4/26/10, Paul Jinks wrote:
I'm considering my options for making quizzes mostly multiple choice
type of thing, but also 'filling in the gaps'. This is in support of
educational materials I'm working on. So far I've looked at Flash and
javascript but have concerns about accessibility for both of these.
Does anyone have any experience of writing quizzes with php and if so,
can you recommend any resources to get me started?
TIA
Paul
Paul:
I have written surveys/quizzes, but have not found a lot of resources for it.
I use javascript usually to handle minor user things, such as "Please
answer the question before moving on" or "Rank these items in order
of importance", or other such immediate demands of the user, but
still the user input not to be trusted. IOW, you still have to scrub
everything.
While I could use Flash, I choose not for it would simply make my
work-load harder.
Quizzes and such are just a long cascade of forms.
I usually use one form and populate it with questions (content and
type) from a database. Then when the user submits their data, I then
save the answer as a independent record with ties to the "test",
"question" and responder. The database design takes some thought to
set up correctly.
In the end, there is not really anything that hard about this, it's
just collecting information from the user via a form and storing that
information in a database.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php