Mobile app version of vmapp.org
Login or Join
Frith620

: Since your index is PHP, all you need is to modify the link using PHP. So, in your index.php between the HTML you would have something like: <a href="affiliate.com/my_affiliate_code_here_<?php

@Frith620

Since your index is PHP, all you need is to modify the link using PHP.

So, in your index.php between the HTML you would have something like:

<a href="affiliate.com/my_affiliate_code_here_<?php echo $_GET['id']; ?>">Link Text</a>


So, when someone goes to:
index.php?id=test1

The link would go to affiliate.com/my_affiliate_code_here_test1

That's it! Any script you would find to do this would me more hassle.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Frith620

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme