Sonderzeichen
Sonderzeichen zu normalen umwandeln
|
Script: |
<?php
function umlautepas($string){
$upas = Array("ä" => "ae", "ü" => "ue", "ö" => "oe", "Ä" => "Ae", "Ü" => "Ue", "Ö" => "Oe");
return strtr($string, $upas);
}
// Beispiel:
$text = "Ö Ä Ü ö ä ü";
echo umlautepas($text);
?>
|
|