|
Posted by shror on 03/07/07 22:19
On Mar 8, 12:15 am, "shror" <shahi...@gmail.com> wrote:
> On Mar 7, 9:17 am, Mike Roetgers <miker...@informatik.uni-bremen.de>
> wrote:
>
>
>
>
>
> > shror schrieb:
>
> > > hi every body,
> > > i have a problem dealing with a quiz system in php.
>
> > > the idea is that am building a quiz system by giving a question and
> > > choices in radio buttons, and after selecting the answer the other
> > > question is loaded and in the final page a report is displayed showing
> > > all questions and the correct answers and the score but the problem
> > > here is that am not able to pass the answer of the first question to
> > > the second page question, ....... and so on
>
> > > i know the idea which is to use a hidden field but i dont know how
> > > this is happened in a correct way.
>
> > > Thanks for any help in advance
>
> > > shror
> > >www.s7els7.com
>
> > You are looking for sessions.www.php.net/session-Hide quoted text -
>
> > - Show quoted text -
>
> Thanks for the answers but i think the hidden tags will be easier but
> the problem is that i dont know if my hidden tag is correct or not
>
> <input type="hidden" name="code" value="<? echo "$code"; ?>">
>
> where code is a value calculated in the same page where this hidden
> tag is found
>
> Thanks once more
>
> shrorwww.s7els7.com- Hide quoted text -
>
> - Show quoted text -
oh the reason i want to use hidden tags is that am not using database
and as much as i know the session needs database
is this correct
Thanks
[Back to original message]
|