syamswaroop Posted May 1, 2009 Share Posted May 1, 2009 i am using a while loop to retrive topics of certain subjects . for each topic retrived iam giving a hyper link so that when user clicks the hyperlink he will be directed to other page and also i am sending this topic value through url encoding From other page iam retrieving this topic value thruogh $_GET But when i submit the secong page topic value is not found its is lost. what to do to hold that topic value even if page is submitted. Quote Link to comment https://forums.phpfreaks.com/topic/156375-session-not-working/ Share on other sites More sharing options...
Adam Posted May 1, 2009 Share Posted May 1, 2009 You'll need to send the topic value through every link. Like this or something... <a href="nextpage.php?topic=<?php echo $_GET['topic']; ?>">...</a> Quote Link to comment https://forums.phpfreaks.com/topic/156375-session-not-working/#findComment-823305 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.