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. 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. 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 ? 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. Link to comment https://forums.phpfreaks.com/topic/268842-post-variable-q/#findComment-1381257 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.