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

I want when someone click the button Buy to go to

Thanks in advance!

In my view alone html is not capable of doing so.
What is your server side language?

In your file you can read passed get or post variables using php arrays $_GET AND $_POST in your case, its get variable id

Now we set new link in your hangout.php as following


<a href='<?php echo $_GET['id']?>' > click here to join </a>

Thank you Utrivedi, It works like a charm