Why don't you use sessions?
php.net/sessions
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-----Original Message-----
From: Chuck Mayo [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 2:24 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General 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]