Jump to content

Recommended Posts

I have this:

 

<a href="http://www.xxx.com/xxx.php?at=$at">Click here to pay for your flight by credit card</a>

 

on the xxx.php, i do $test = $_GET['at'];  when i echo $test out, there is no value.  it just displays $test on the screen.  I double checked the value of $at and there is a value there.  I am losing the value between the pages?

 

Thanks,

 

AM

I'm guessing that the xxx is just a generic place holder and not for a porn site :P

 

Anyways what I'd do is go to the page with that link, and hover over it to see if the link contains the $at variable and $at isn't blank. Cause from what you posted the code looks correct. Sounds to me like the variable is empty or is becoming empty before you attempt to pull it out of the $_GET array.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.