Spaecial charectar allowed in php
<?php
function filter_sting($addstring)
{
$filter_string = str_replace(",","<br>","$addstring");
return $filter_string;
}
function decode_characters($data)
{
$text = $data;
$enc = mb_detect_encoding($text, "UTF-8,ISO-8859-1");
$resutl_characters = iconv($enc, "UTF-8", $text);
return $resutl_characters;
}
?>
0 comments:
Post a Comment