Jump to content

Passing a $_GET value with out href links


eldan88

Recommended Posts

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
Share on other sites

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
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.