$str = $kelime;
echo str_replace(' ', '+', $str); // Boşluk yerine + koyacak