ariskelvyn on 07/04/11
Last Edited at 07/04/11 07:25pm
function html_chr($texto) { $salida = ""; for ($i=0; $i<strlen($texto); $i++) { if (eregi("[A-Z 0-9<>\"]", substr($texto, $i, 1))) { $salida .= substr($texto, $i, 1); } else { $salida .= htmlentities(substr($texto, $i, 1)); } } return $salida;}
URL: http://www.ariskelvyn.com
Report this snippet Tweet
Comment:
You need to login to post a comment.