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.
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.