Thank you Utrivedi, It works like a charm

As default it's php. Thanks

Morning everyone --

Can anyone help me with what is probably very simple?

I have a page where I want to get a variable from the URL and insert it in the buy button... so if my url is http://mywebsite.com/hangout?id=beauty

I want when someone click the button Buy to go to http://affiliatewebsite.com/join?id=beauty

Thanks in advance!