Code: Select all
<form name="search" id="search_form" action="/search" method="post">
<p><input type="text" name="search_term" id="search_txt">
<input type="image" src="/img/pages/wide/go.gif" id="search_button"></p>
<p><select name="search_type" id="search_opt">
<option value="artist" selected="selected">Artist/Group</option>
<option value="album">Album</option>
<option value="song">Song</option>
<option value="work">Classical Work</option>
</select></p>
</form>
Some sites use POST method to send data, others use GET method.
New AMG code example (POST method):
Code: Select all
TITLE=POST;ACTION='http://www.allmusic.com/search';search_term=%T&search_type=Song
Code: Select all
ARTIST=GET;ACTION='http://www.discogs.com/search';Q=%A&artists=artist
Code: Select all
CUSTOM=GET;ACTION=''http://www.discogs.com/advanced_search';artist=%A&release_title=%L
Advanced search popmenu gives many benefits to user as in script user can search by any tag (by year, genre etc).
How?