Method: db::search_clause
A simplifier to build search clauses
Info
Syntax
db::search_clause($search, $fields, $mode='OR')
Parameters
- $search (string) The search word
- $fields (array) An array of fields to search
- $mode (string) OR or AND
Return (string)
Returns the final where clause