the more I try the more I am convinced that there is nothing in the $HTTP_GET_VARS array because nothing is showing up.
go ahead and step through my web site
http://WWW.CAILLOUETTE.COM/CHAPTER25d/show_cat.php?catid=1
select a book, choose add to basket, then fill out the info filed, with anything (a,a,a,a,a,a,a) will be enough, then the next page uses "get" to retrieve info from a ups server.
Then click the small purchase link (bottom left) to go to next page. On this page I will have the credit card ifno, but first I need to process the $HTTP_GET_VARS info (by inserting it into the database) I just want to make sure it's there.
after pressing the small purchase link brining you to purchase.php you can see nothing is showing up.
The current code on purchase.php is:
<?
include ('book_sc_fns.php');
// The shopping cart needs sessions, so start one
session_start();
do_html_header("Checkout");
foreach ($HTTP_GET_VARS as $value) {
echo "Value: $value<br>\n"; }
echo $HTTP_GET_VARS[0];
do_html_footer();
?>
but I get nothing from this code. So the problem must be that $HTTP_GET_VARS is empty.
so my question is, how do I get the variable from the purchase1.php page to the purchase.php page?
I appreciate all the help but I think the problem is with purchase1.php and the get command. I can post that code if you would like to see it, just let me know if you're still willing to help.
Thank you thank you thank you😃