Re: Preserve variables between page loads?

From: Date: Mon, 12 Feb 2001 23:44:33 +0000
Subject: Re: Preserve variables between page loads?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39292@lists.php.net to get a copy of this message
Sounds like just what I need. Thanks, Ankur & Maxim. Ankur Verma wrote: > try using session variables. > > take a look at phplib if you are using PHP3 or > > http://www.php.net/manual/en/ref.session.php > > if you are using PHP4 > > hope that helps > > Ankur Verma > HCL Technologies > A1CD, Sec -16 > Noida, UP > India > > ----- Original Message ----- > From: "Chuck Mayo" <res035gp@gte.net> > To: <php-general@lists.php.net> > Sent: Monday, February 12, 2001 10:53 AM > Subject: [PHP] Preserve variables between page loads? > > > This may have crossed the list a bazillion times, but I couldn't > really > find > > anything appropriate in the archives... maybe I just didn't look hard > enough. > > > > In a MySQL app, I have the usual row of paging links at the bottom of > the > page > > and need to pass to the next iteration more variables than I can > comfortably > > url-encode in the hyperlink. If all these paging links were submit > buttons > I > > could pass anything I wanted in hidden form fields, but since they're > > hyperlinks I don't seem to have that option. > > > > Is there a way to selectively preserve variables between iterations? > Something > > like variables that are global to PHP, as opposed to being global > within > the > > script? > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#39292) next »