By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,041 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

$_GET

P: n/a
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.
Jan 3 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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.
js*******@attglobal.net
==================

Jan 3 '08 #2

P: n/a
Problem:
I can't get the get variable to save to the database.
I can.

Jan 3 '08 #3

P: n/a

"Jonas Werres" <jo***@example.orgwrote in message
news:47***********************@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 ;)
Jan 3 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.