help with php/html coding?

  • Thread starter Thread starter Someone
  • Start date Start date
S

Someone

Guest
i want to make a link, for example, "auto". instead of typing it into a search box and clicking search, this will be a link for the most popular searches. Since the content changes daily, it has to work through the search.php script.

heres the code from my website.

<form name="search_form" method="post" enctype="multipart/form-data" action="search.php">

<table id="quick-search" cellpadding=0 cellspacing=0>

<tr><td class="white">Search</td><td></td><td>

<input name="word" type="text" size="15" maxlength="50" class="search_inputs" onfocus="this.className='search_inputs-f... onblur="this.className='search_inputs';"...

<td><input name="Submit" type="image" value="Search" src="http://mywebsite.com/templates/defa... style="border: 0px;"></td>

</tr></table>

</form>

when i try the following code> <a href="http://mywebsite.com/search.php?
post=toyota" >toyota</a>

the results are, all the content on the website. is there a way i can modify the code so only toyotas appear in the results or whatever i choose?

thanks in advanced
 
Back
Top