I would like to know if there is any way to group the search. I have a field that is called $ buski and I would like you to search in all the fields of both one table and the other. So far I am defining it by hand one by one type:
upper(nombre) like upper('%".$buski."%') OR
upper(cif) like upper('%".$buski."%') OR
upper(localidad) like upper('%".$buski."%')
Is not there a way to put the $ buski just once?