Re: Storing variables

From: Date: Thu, 21 Mar 2002 20:39:49 +0000
Subject: Re: Storing variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89584@lists.php.net to get a copy of this message
On Thu, 21 Mar 2002, Morten Nielsen wrote: > I got a page, which is reloaded 3 times. When the user first sees the page > he has to fill in some information. On the second page he press a button to > confirm. I would then like for the third page to display what he has entered > on the first page. > What is the best way to store the variables from page one? Is a session the > only/right way to do this? Some possibilities: 1. Session 2. Hidden variables (easier if you make them all part of the same array and then just serialize it). 3. Store them in a database and just pass the index from page to page using a hidden variable. miguel

« previous php.general (#89584) next »