ibanez270dx Posted November 22, 2007 Share Posted November 22, 2007 Hi, I'm running PHP on a remote server and I can't seem to get this line to actually work: <a href="index2.php?typeorder=fi_tripnum"> Whereas I want to pickup that $typeorder = "fi_tripnum"; However, it doesn't get picked up by index2.php (The page that the hyperlink is on is index2.php - the same page it wishes to send to). I checked PHP.ini and REGISTER_GLOBALS is on. Is there anything else that I should check? Thanks, - Jeff Quote Link to comment https://forums.phpfreaks.com/topic/78372-solved-quick-question/ Share on other sites More sharing options...
~n[EO]n~ Posted November 22, 2007 Share Posted November 22, 2007 In index2.php write <?php if (isset($_REQUEST['typeorder'])) { $typeorder = $_REQUEST['typeorder']; } else { echo "Value not set"; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/78372-solved-quick-question/#findComment-396566 Share on other sites More sharing options...
ibanez270dx Posted November 22, 2007 Author Share Posted November 22, 2007 awesome, it worked! Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/78372-solved-quick-question/#findComment-396569 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.