eldan88 Posted September 4, 2013 Share Posted September 4, 2013 Hey guys. I have a custom ecommerece application, and I am looking to pass an the order_id to a different page with out having someone clicking on any link. As an example when the user gets to the order_confirmation.php page I want the $_GET['order_id'] to be passed into an order_confirmation.php page. Any suggestion on how I can accomplish that? Link to comment https://forums.phpfreaks.com/topic/281862-passing-a-_get-value-with-out-href-links/ Share on other sites More sharing options...
requinix Posted September 5, 2013 Share Posted September 5, 2013 With a link of sorts. $_GET information comes from URLs so you have to make them visit that URL one way or another. Could be AJAX. Link to comment https://forums.phpfreaks.com/topic/281862-passing-a-_get-value-with-out-href-links/#findComment-1448200 Share on other sites More sharing options...
control_freak Posted September 5, 2013 Share Posted September 5, 2013 How about using sessions? Link to comment https://forums.phpfreaks.com/topic/281862-passing-a-_get-value-with-out-href-links/#findComment-1448226 Share on other sites More sharing options...
eldan88 Posted September 6, 2013 Author Share Posted September 6, 2013 With a link of sorts. $_GET information comes from URLs so you have to make them visit that URL one way or another. Could be AJAX. Thanks but I am not familiar with AJAX How about using sessions? That's a good idea. I am going to try that. Link to comment https://forums.phpfreaks.com/topic/281862-passing-a-_get-value-with-out-href-links/#findComment-1448393 Share on other sites More sharing options...
KevinM1 Posted September 6, 2013 Share Posted September 6, 2013 Locking this one, given there's a duplicate. Link to comment https://forums.phpfreaks.com/topic/281862-passing-a-_get-value-with-out-href-links/#findComment-1448397 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.