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 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"; } ?> 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! Link to comment https://forums.phpfreaks.com/topic/78372-solved-quick-question/#findComment-396569 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.