URL string execution

I attempted to search this topic in previous threads but came up empty. My question is this: If a url string is enclosed in the javascript tags, is it executed automatically, like a redirect? There will be no other commands in the tags, just the url string. If not, how do you get it to execute the string?

I will ask for this to be moved to the PHP forum, this is much easier to do in PHP than JS. Basically if the form is using the GET method, the variables are shoved into the url automatically.

I think so, effectively. It’s for an affiliate program and to send the commission amount you send a php page URL and you append variables to it and then send the whole string. So, yeah it is a redirect but they redirect back to the sending page when finished.

Are you asking how to redirect via JS?