Quote (Perykles @ Jun 23 2012 02:07pm)
Oh, sure. He said it's a school project so I guessed he doesn't have any server to do it. Else, because of too much free time I'm creating another project php+mysql, but that's much more complicated (saving, displaying records, deleting them, changing the survey...). Anyways, being PHP programmer I know only basics of js but that's just one function:
http://khernik.boo.pl/So give me an opinion if that's a shit function, but looks fine for me ;d
Erm, depends. If the goal is to just print out what the values are, then yeah, that's fine.
But judging from the OP, the code needs to check the answers the client gets with the correct answers (stored in code or database).
We need more info about the survey's requirements,
tko400.