Forums

This topic is locked

Increment Record counter by 1

Posted 07 May 2002 13:30:39
1
has voted
07 May 2002 13:30:39 marta keithy posted:
Hi,
I wonder if anyone could help me. I am developing an online quiz. I have a quiz page which dynamically displays question and 4 possible answers; this data comes from a table named QuestionTable.
On the same page is an insert form, which inserts ticky boxes containing the choice of the person taking the quiz, ie if they think answer 'a' is correct then they tick the box to the right of the answer.
At the moment the questions are displayed a question to a page with a submit button and navigation between each record/page.
What I would like is to ditch the navigation and when the user answers the question by submitting it, then the same page reappears with the next question/record.
Ultradev must have written a record counter onto the page, but I can't find it.
In a nutshell I want to increment the record count, on insertion, to show the next question.
Can anyone help.
Thank you for reading this.
Regards
Marta

Replies

Replied 07 May 2002 20:03:51
07 May 2002 20:03:51 Rick Harding replied:
Do you have the page online? I am thinking that it might be passing a record number to the page again as a url parameter or something. If it keeps calling the same page it must be passing it somehow and you can incremement it before youu pass it.

Rick Harding
U of M CS Student / Network Admin for MSU FAME
www.ricks-web.info
"Techies just think differently...at least that's what they keep telling me"

Reply to this topic