$_GET

$_GET

am 03.01.2008 04:51:16 von KoRnDragon

Link:
http://korndragon.com/resources/register.php?refer=1

Code:
if(isset($_GET['refer'])){
echo "Referrer: " . $_GET['refer'];
}

Problem:
I can't get the get variable to save to the database. I'd rather not
use a cookie if possible, a session is alright.

Re: $_GET

am 03.01.2008 05:24:22 von Jerry Stuckle

KoRnDragon wrote:
> Link:
> http://korndragon.com/resources/register.php?refer=1
>
> Code:
> if(isset($_GET['refer'])){
> echo "Referrer: " . $_GET['refer'];
> }
>
> Problem:
> I can't get the get variable to save to the database. I'd rather not
> use a cookie if possible, a session is alright.
>

How are you trying to save it to the session? You didn't show us that code.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: $_GET

am 03.01.2008 14:16:28 von Jonas Werres

> Problem:
> I can't get the get variable to save to the database.

I can.

Re: $_GET

am 03.01.2008 14:34:51 von Vince Morgan

"Jonas Werres" wrote in message
news:477ce02a$0$16571$9b4e6d93@newsspool1.arcor-online.net.. .
> > Problem:
> > I can't get the get variable to save to the database.
>
> I can.
>
I can't. But, I can save the value, if it has one ;)