Hi all, Sorry to bother u all, I think i previously post about the quiz script, and i read and research abit here and there,
anyway i manage to write some but found some difficulties,especially about random generator..
I have this several 'set' of question and answer, and i like to view'em random
(e.g: refresh---> What is 1+1=?...with option n aswers, refresh---> What is 1+1=?...with option n aswers, refresh---> What is
1+1=?...with option n aswers, ...etc)
and also if any of master n gurus here have better suggestion, both on the question array and get (viewing method on browser),Code:questionarray[0] ='What is 1+1=?.' answer[0] ='1' Adistract[0] ='2' Bdistract[0] ='22' Cdistract[0] ='11' Ddistract[0] ='0' questionarray[1] ='what is the color of the sky?.' answer[1] ='C' Adistract[1] ='red' Bdistract[1] ='yellow' Cdistract[1] ='blue' Ddistract[1] ='purple' questionarray[2] ='cow is =?.' answer[0] ='D' Adistract[0] ='Tank' Bdistract[0] ='President' Cdistract[0] ='Weapon' Ddistract[0] ='Animal' questionarray[3] ='What is 2+2=?.' answer[0] ='A' Adistract[0] ='4' Bdistract[0] ='22' Cdistract[0] ='11' Ddistract[0] ='0' .....etc
i'll be very thankful.
Anyway, thanks in advance.
Best Regards
~M~



Reply With Quote

Bookmarks