Open new window URL, variable from form in URL PHP
Hi how are you?
Code:
<form name="form" target="_new" method="POST" action="mp3search.php">
Song or Artist: <input name="mp3search" type="text" />
<input type="submit" value="Search" />
</form>
This is a simple form. I want whatever the user entered in the text box to be concatenated into the URL in a new window when the user hits Submit:
EX:
This will open up as a new window showing google.com
http://www.google.com/search?(VARIABLE)<--this is the variable from the textbox.
so for example it would be: www.google.com/search?VARIABLE+fileextension
best,
Michael