</table>';
}
+function chars_encode($string) {
+ $chars = array();
+ $ent = null;
+ $chars = preg_split('//', $string, -1, PREG_SPLIT_NO_EMPTY);
+ for ($i = 0; $i < count($chars); $i++)
+ $ent[$i] = '&#' . ord($chars[$i]) . ';';
+ if (sizeof($ent) < 1) return '';
+ return implode('',$ent);
+}
+
?>