Call to undefined function tidy_parse_string()

liunx

Guest
Hello

I got the error as the following:

Fatal error: Call to undefined function tidy_parse_string() in /home/www/htdocs/html_test.php on line 12

What can I do?

Thanks.

NormanCheck that Tidy support is provided and enabled, perhaps using phpinfo().I have figured it out.

The HTML Tidy Library has to be installed. The source code can be downloaded from <!-- m --><a class="postlink" href="http://tidy.sourceforge.net/">http://tidy.sourceforge.net/</a><!-- m -->

After the library is installed, re-compile the PHP 5 with the option --with-tidy[=DIR]

Hope it helps.

Norman
 
Back
Top