HTML Php

   $string = "<>";
   $translate = get_html_translation_table(HTML_ENTITIES);
   echo strtr($string, $translate);
?>