$aranan=array("kelime","veri","is","val","sas");
foreach($veri as $val)
{
if(in_array($val,$aranan))
{
echo "".$val."";
}
else
{
echo "".$val."";
}
}