분류 php

get_html_translation_table: encode

컨텐츠 정보

  • 조회 1,939 (작성일 )

본문

<?php

   $string = "<>";

   $translate = get_html_translation_table(HTML_ENTITIES);

   echo strtr($string, $translate);

?> 

php