function laFuncion($n){ $i = ucwords($n[1]); // listo ?? $l = str_replace("_","",$i); $z = "<a href=\"Clave_".$l.".html\">".$i."</a>"; return $z; }