Use sessions. (session_start() and session_register()), and at the start of the test 
save row_ids(question_ids) in arrray which you
make with session_register a session variable. On other pages you do session_start() 
and after that you have access to the array.

Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS



----- Original Message -----
From: "Peter Allum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 14, 2001 11:37 AM
Subject: [PHP-DB] Next


> I am writing a questionaire, am gonna include java timer etc... and it is
> written in PHP 4 and Mysql running on Apache.
>
> I have my questionaire database full of questions I randomly select say 40
> questions. But rather than display the whole array on the screen I would
> like to have 1 question per page and a next button. I hope that makes sense
> any ideas anyone?
>
> Many thanks for you halp in advance.
>
> Peter
>
> --
> Regards,
>
>
>
>
> Peter Allum
> Connect U Ltd
> ****************************************************************************
> **************
> Confidentiality: This email and its attachments are intended for the above
> name only and may be confidential. If they have come to you in error you
> must take no action based upon them, nor must you copy or show them to
> anyone.
> Please reply to this email and highlight the error.
> Security Warning: Please note that this email has been created in the
> knowledge that Internet email is not a 100% secure medium.
> We advise that you understand and observe this lack of security when
> emailing us.
> Viruses: Although we have taken steps to ensure that this email and
> attachments are free from any virus, we advise that in keeping with good
> computing practice the recipient should ensure they are actually virus free.
> [EMAIL PROTECTED]
> ****************************************************************************
> **************
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to