php get html translation table: decode
관련링크
본문
<?php
$entities = get_html_translation_table(HTML_ENTITIES);
$translate = array_flip($entities);
$string = "é ú";
echo strtr($string, $translate);
?>
페이지 정보
[ 조회 212회 ] 작성일15-06-10 10:59