AzizLight on 11/26/09
Last Edited at 11/26/09 10:16am
function to_ascii($string){ $ascii_string = ''; foreach (str_split($string) as $char) { $ascii_string .= '&#' . ord($char) . ';'; } return $ascii_string;}
Report this snippet Tweet
Comment:
You need to login to post a comment.