PHP Object Framework (PHPOF) Manual

DBTable::BasicSearchLike

Perform a search in a database table for cells containing the given term

Description

DB_result DBTable::BasicSearchLike ( string search_column, string search_for [, string order_by ] )

BasicSearch returns a database result object when searching for a cell LIKE search_for in column search_column. No percentage signs are inserted, thereby giving maximum flexibility. Therefore, search_for would typically contain something like "%something to search for%".

This function is otherwise identical to DBTable::BasicSearch.

See also DBTable::BasicSearch, DBTable::BasicSearchLike_Paged.