Referral system

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nite4000
Forum Contributor
Posts: 209
Joined: Sun Apr 12, 2009 11:31 am

Referral system

Post by nite4000 »

I am trying to create a referral system for my scrit.

When someone is referred they would go to a url like this www.mydomain.com/index.php?ref<ACCOUNT#>
account nuumber is a number generated when they signup

on the register page i have a place to show teh referrer
I want it to show like this. Referrer : <Account #>

but it dont when I try.

I have never tried this so any help would be nice.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: Referral system

Post by yacahuma »

If you are using exactly what you posted , you need to add an = character
http://www.mydomain.com/index.php?ref=<ACCOUNT#>
Post Reply