php script - capture number and use as subid on click
I want to use a field where user enters a promo code and then clicks on a button.
The button will be linked to website but depending on the promo code the link should have the promo code as subid for tracking purposes.
So for example if the link was www.exampledomain.com and the promocode was 1234
the user who click on the buttom should be send to www.exampledomain.com/subid=1234
The button should also be freely assignable. I mean I know a little how to edit code so if you tell me where to enter the destination url of the pic of the button I can do that.
***IMPORTANT: start your application with the word "subid" to prove you have read the whole description.