Basta che nella query di ricerca passi come valore stringa da cercare nel o nei campi desiderati.

Es:

Codice PHP:
SELECT FROM tabella WHERE nomecampo LIKE '%$stringa_di_ricerca%'