Menu
I’d like to add a simple search to the php area of my site.
I have got this working, but i would like to add a select box so the user can define whether they want to search by keyword or by index (of a customer complaint).
I have:
<select name = “SearchType”>
<option>Search by….</option>
<option name = “ID”>ID</option>
<option name = “Keyword”>Keyword</option>
</select>
But at the moment this is not functional – the default php retreival script is by keyword, and i don’t know how to set a different search criteria depending on the option the user selected.
Thanks for your time.