Query string to HTML

  1. How to add an query string (ID) to a HTML page?

  2. Also is it possible to pass an email address as the query string?

3. Basically what I need is to pass an querrystring ID and [FONT=Calibri][FONT=Verdana]match it to an ID on a PHP server side script, then pass the email address into Flash.[/FONT] :top_hat:[/FONT]

I found this by googling. But when I add the following to the HTML (between the headers) in IE it says Error on page. :confused:

<script type="text/javascript"> 
function relocate(select,attribName) 
{
var addQuery = select.options[select.selectedIndex].value; 
if(!addQuery) return; /* no selection */ 
var currQuery = location.search.substring(1); location.href +=   'to]po5(currQuery?"&":"?") + attribName+"="+addQuery; } </script>