krash11554 Posted September 27, 2012 Share Posted September 27, 2012 So i have i a post varialbe containg and a id and when you click the submit button it would take you to a different page. I picked up the variable from the first form but how would i keep the information in another variable after i refresh the second page. What i have now is i get the information from the form then when i refresh the page i loose it. Quote Link to comment https://forums.phpfreaks.com/topic/268842-post-variable-q/ Share on other sites More sharing options...
Pikachu2000 Posted September 27, 2012 Share Posted September 27, 2012 You could use $_SESSION variables. Quote Link to comment https://forums.phpfreaks.com/topic/268842-post-variable-q/#findComment-1381252 Share on other sites More sharing options...
krash11554 Posted September 27, 2012 Author Share Posted September 27, 2012 Even In gonna use the session for a short time ? Quote Link to comment https://forums.phpfreaks.com/topic/268842-post-variable-q/#findComment-1381255 Share on other sites More sharing options...
Pikachu2000 Posted September 27, 2012 Share Posted September 27, 2012 Sure, I don't see any reason not to. Quote Link to comment https://forums.phpfreaks.com/topic/268842-post-variable-q/#findComment-1381257 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.