dynamic urls and links on one web page
- by John
I am trying to figure out how to create dynamic links and urls on a static webpage.
What I want to do is the following:
I have a single webpage for example:
MYWEBPAGEdotCOM/INDEX.HTML
that will always look the same, except for one link on the page.
the link would be on the page for example:
LINK TO AFFILIATE:
affiliatedotCOM/my-affiliate_code_here_DYNAMIC_REFERER
the only thing would change is the "DYNAMIC_REFERER" with every dynamic url on this page:
MYWEBPAGEdotCOM/INDEX.PHP_id=test1
MYWEBPAGEdotCOM/INDEX.PHP_id=test2
MYWEBPAGEdotCOM/INDEX.PHP_id=test3
MYWEBPAGEdotCOM/INDEX.PHP_id=test4
which would only hange the dynamic link on the page to:
affiliatedotCOM/my-affiliate_code_here_test1
affiliatedotCOM/my-affiliate_code_here_test2
affiliatedotCOM/my-affiliate_code_here_test3
affiliatedotCOM/my-affiliate_code_here_test4
Can someone tell me how I could go about doing this?
I just dont want to have to make 100's of pages, as this would prevent me from having to do so.