07-20-2009, 06:11 AM
|
#2 (permalink)
|
|
The Acquainted
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
|
Quote:
Originally Posted by skp
I just wanted to develop a web application - an online quiz, in which i need to fetch questions only once & display one at a time as the user clicks the NEXT button. But, in php ,i guess it is difficult to have the questions(data) stored & use it on the event basis(button click)(since its a mere script invocation). Whereas , in asp.net it is easily done, since the data fetched can be stored till the user ends appln. So can u suggest some ways to do it in php......? or asp.net is the only way...?
|
I would probably store the used questions in an array (the id of each question). This can then be easily checked to make sure the question is notused twice, and also can easily be used to recall all questions/answers at the end.
|
|
|