RE: [PHP] Preserve variables between page loads?
| From: | PHPBeginner.com | Date: | Mon, 12 Feb 2001 09:44:43 +0000 |
| Subject: | RE: [PHP] Preserve variables between page loads? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39194@lists.php.net to get a copy of this message | ||
Why don't you use sessions?
php.net/sessions
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Chuck Mayo [mailto:res035gp@gte.net]
Sent: Monday, February 12, 2001 2:24 PM
To: php-general@lists.php.net
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