Codice PHP:

select 
from db_esempio where nome like '%".$nome."%' 
provacosi