This is what i've done:
PHP Code:
$words = $frow["descrizione"];
foreach ($keys as $key) {
$words = strip_tags($words);
$words = str_replace($key,"<span class='bold'>".$key."</span>",$words);
}
p.s. $keys is what you supposed with $KeyWords
Is it necessary i post also the code around that?