i have made a search box on my site which i can't figure how i could code it... The drop down box needs to be linked with the textbox is my guess but not too sure how to go about that...
<form action="search.php" method="post" name="Search" id="Search">
<table width="100%" border="0" class="font">
<tr>
<td><div align="center" class="colour0">Search By
<select name="type" class="textbox" id="select">
<option value="Stock">Stock</option>
<option value="Make" selected>Make</option>
<option value="Model">Model</option>
<option value="Year">Year</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="center">
<input name="text" type="text" class="textbox" id="text" size="10">
<input name="Submit" type="submit" class="textbox" value="Submit">
</div></td>
</tr>
</table>
</form>
The idea of the form is this: i would like it so visitors select Stock, Make, Model, Year from the box and type which car they would like to find The Drop Box contains the columns in the table
Hope someone can help me sort this out 😉