Pi_Mastuh Posted April 15, 2007 Share Posted April 15, 2007 How do you send a variable to another page when you're going through a text link? Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 15, 2007 Share Posted April 15, 2007 Go to page2.php?var=value And In page2.php <?php echo $_GET['var']; ?> Quote Link to comment Share on other sites More sharing options...
anthylon Posted April 15, 2007 Share Posted April 15, 2007 Or make your link: page2.php?var1=value&var2=value&var3=value And In page2.php <?php echo $_GET['var1']; echo $_GET['var2']; echo $_GET['var3']; ?> The same like neel_basu told you but I was thinking maybe you could be confused if you need more variables. Respect neel_basu! Please don't understand it wrong. Quote Link to comment 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.