Re: Next

From: Date: Wed, 14 Nov 2001 09:49:05 +0000
Subject: Re: Next
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-14319@lists.php.net to get a copy of this message
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" <develop@connectu.co.uk> To: <php-db@lists.php.net> 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. > webmaster@connectu.co.uk > **************************************************************************** > ************** > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#14319) next »