string strtr ( string $str , string $from , string $to )
Translate characters or replace substrings
<?php
//In this form, strtr() does byte-by-byte translation
//Therefore, we are assuming a single-byte encoding here:
$addr = strtr($addr, "äåö", "aao");
?>
The strtr Function in PHP
0 Comment:
Post a Comment