View Single Post

  #1 (permalink)  
Old 04-04-2006
stephane
 
Posts: n/a
Default 2 variables in an URL

I thought it was possible to send two variables in an URL
like this:

print" <script type='text/javascript'>
document.location.replace('http://127.0.0.1/add_task.php?tk_request_name={$req_name}?tk_req_id ={$maxValue}');
</script>";

but I can't get them separately in add_task.php

is there something wrong with script?

I know this is mainly javascript here, but I use it in php code though.



Reply With Quote