Retrieving a Document from Tidy : tidy_parse_string « HTML « PHP






Retrieving a Document from Tidy

 
<?php
     $tidy = tidy_parse_string("<B>This is a string</B>");
     $data = tidy_get_output($tidy);

     echo $tidy;
?>
  
  








Related examples in the same category

1.Passing Tidy Options at Runtime
2.Using tidy_clean_repair()