Hi, my friend gave me this function but im not quite sure on what strtr() does
Also why the return statement??
Any ideas??
function htmlannoysme($txt) {
$ab['<'] = '<';
$ab['>'] = '>';
$ab['"'] = '"';
$txt = strtr($txt, $ab);
return $txt;
}
Thanx
Martin
Also why the return statement??
Any ideas??
function htmlannoysme($txt) {
$ab['<'] = '<';
$ab['>'] = '>';
$ab['"'] = '"';
$txt = strtr($txt, $ab);
return $txt;
}
Thanx
Martin