Hey,
I'm trying to make a small piece of code that will set the url of links according to a number in the url. So, add what's in the url to the end of a link.
My code:
If ($ref > '0' ) {
include('http://site.com/top.php?ref=$ref');
}
And inside the file the statement is including are a few "$ref" values added after the urls.
The code seems only to work on one page. The only difference between the working page and the nonworking ones is that it uses the $ref variable again in the main page later on...
Sorry if my writings kind of confusing...I'm a bit confused myself! 😉
Thanks!