Welcome Guest, Not a member yet? Register   Sign In
How to make a valid search with filters
#1

[eluser]Medikal[/eluser]
So I have a search that returns articles with the description being LIKE the search term(s), and I need to apply filters - specifically what category the articles are in, and what source they're coming from, both noted in the articles row in the database under the fields category, and host, respectively.

Bottom line:
So my question is would my best bet be to use my model to return all results LIKE the search terms, then run those through two other functions that eliminate the results not being in the category or host?

Thanks for any input you can provide.




Theme © iAndrew 2016 - Forum software by © MyBB