Jay2391 Posted November 17, 2007 Share Posted November 17, 2007 So i have this code that i go to this page and i display teh data from a table so i click a link that take sme to this page .. home.php?i=$1&a=$a7t=$t now i display the info and i have a submit button that have a post to say yes or no and update a table now when i click the submit button it take me to ,,,, home.php so what i did is i made it that when you post you go to home.php?i=$1&a=$a&t=$t but the code dosen't get the info back THE BOTTON LINE IS I WANT TO CLICK POST AND KEEP THE DATA FROM CLERING OUT LIKE A STICKY FORM BUT APERANTLY MY GET STATEMENT DO NOT GET THE DATA THE SECOND TIME(WHEN I CLICK POST) AND I TRY PHP_SELF that did not work :-\ Quote Link to comment https://forums.phpfreaks.com/topic/77685-posting-help/ Share on other sites More sharing options...
axiom82 Posted November 17, 2007 Share Posted November 17, 2007 // Save Variable Until New Value Exists // if (isset ($_GET['a'])){ $_SESSION['a'] = $_GET['a']; } echo $_SESSION['a']; Quote Link to comment https://forums.phpfreaks.com/topic/77685-posting-help/#findComment-393268 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.