Jump to content

Newbie question..... is this possible?


cursed

Recommended Posts

[quote author=cursed link=topic=105864.msg423083#msg423083 date=1156726760]
so this isnt possible?
[/quote]

Well, it's hard to tell if it's possible or not  As suggested, we need to know more about this.  I don't understand what it is you're contemplating, so a more informative example would help.
ok... an example of where this script may be used is:

you post an affilate code on ur website so the main website is shown.
If the affilate code ISNT there, some special AFFILATORS only place wouldnt be shown.

If the affilate code IS there, then some special AFFILATORS only place WILL be shown.

Hope this makes more sense.

Edit: I will need the include, but thats for some other part of the script that i dont need help on.

I just need help on showing/not showing some text.
Use an if statement....

[code]if ($_GET['affcode'] && is_numeric($_GET['affcode']) {
  echo 'Welcome Affiliate!!';
} else {
  echo 'Welcome Guest';
}[/code]

Simplistic, but you get the point.

Here's a tutorial on creating a membership system:

http://www.phpfreaks.com/tutorials/40/0.php

Archived

This topic is now archived and is closed to further replies.

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