I wanted to do a search system where I would search for data typed according to the selected category, but I do not know where to start.
I'd like to add the filter option to category followed by a _<input type="text">_
for the user to select the category and type what he wants to search for:
<select name="opcao_filtro">
<option value="nulo">--</option>
<option value="titulo">Título</option>
<option value="autor">Autor</option>
<option value="tema">Tema</option>
<option value="editora">Editora</option>
<option value="indice">Índice</option>
</select>
Just below the input:
<input type="text" name="busca" id="busca">
<input type="submit" value="Procurar">
And then (optional for the user) search for letters (would work along with the category filter):
<a href="url">A</a>
<a href="url">B</a>
Example : User chose to filter by title and when he clicked on the letter "A" search within the category and display the results of the titles that he ate with the selected letter.