I have a search engine.
The code is somewhat like this.
<FORM name=search action="SearchList.php" method="POST">
<select name=item>
<option value="0">total</option>
<option value="1">children</option>
<option value="2">female</option>
<option value="3">male</option>
</select>
<input type="text" name="item" size="14" maxlength=20>
<input type="button" value=find>
</FORM>
I didn't make the database, but the database and the above search box is well worked.
For example, if I enter the word "toy" in the search box and click the search button, the SearchList .php page will show all the data that include the word "toy".
So far that is normal search box.
But I want to put another thing.
Since some words are very frequently searched by users,
I like to make some button for the popular searched words.
For example,
Because "toy" is one of the most frequently searched word,
I made next script.
<a href="SearchList.php?item=toy">toy</a>
But the script doesn't work correctly.
If I click the button "toy", the SearchList.php page will show all the data regardless of including the word "toy".
I like to make the Searchlist.php page to show only the data that include the words "toy".
Help!!!