SELECT * FROM tablo WHERE (ad LIKE '%$aranacak%') or (soyadi LIKE '$aranacak')