$query = $db->query("SELECT * FROM islemler WHERE mail!='$mail' order by rand() limit 1");