Hey, I'm trying to create a search box on my site.
I have this form on one PHP file (music.php):
What I want it to do is when people click the search button, they go to the
artist.php?search=**searchquery**
The actual search works fine, but it's this form I can't figure out.
Thanks in advance.
I have this form on one PHP file (music.php):
HTML Code:
<form name="search" method="post" action="artist.php?search="> <img src="images/textheaders/search_artists.gif" width="137" height="23"> <input name="searchquery" type="text" size="7"> <input type="image" src="images/textheaders/search_go.gif" name="submit" value="submit"> </form>
artist.php?search=**searchquery**
The actual search works fine, but it's this form I can't figure out.
Thanks in advance.
Comment