MikeFloutier Posted October 24, 2006 Share Posted October 24, 2006 Hi,Ok I'm new to this so please humor me 'cos it seems like a very rudimentary question!I want to assign a variable's value in "onepage.php" and use it in "anotherpage.php". But it doesn't seem to remember it once I click on the link to "anotherpage.php".How can I get it to "remember" it's value until it's re-assigned a new value?ThanksMikePs I read the tutorial and searched a lot of previous posts but couldn't see anything helpful. Link to comment Share on other sites More sharing options...
aspnetguy Posted October 24, 2006 Share Posted October 24, 2006 use sessions: http://www.php.net/session Link to comment Share on other sites More sharing options...
MikeFloutier Posted October 24, 2006 Author Share Posted October 24, 2006 use sessions: http://www.php.net/session Thanks Aspnetguy,Much appreciated!Mike Link to comment Share on other sites More sharing options...
aspnetguy Posted October 24, 2006 Share Posted October 24, 2006 no problem Mike, Happy Programming Link to comment Share on other sites More sharing options...
jhecht Posted October 24, 2006 Share Posted October 24, 2006 Or GLOBAL and COOKIE. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now