News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Tracking Parsing Errors with the Tidy Library in PHP 5
July 12, 2007 @ 14:28:28

DevShed wraps up their series on using the Tidy extension with this last tutorial showing methods of tracking parse errors with the help of the library.

So, the question that comes up is the following: what is the next step? Well, from a PHP developer's point of view, tracking all the errors that occurred when parsing a concrete (X)HTML string might be quite useful. Therefore, in this final tutorial of the series I'm going to cover some new functions bundled with the Tidy extension which are designed to show you the potential errors raised when interpreting (X)HTML data.

The tutorial shows how to use the tidy_get_error_buffer, tidy_access_count, tidy_error_count and tidy_warning_count functions to search through your code and handle whatever errors (and error data) that might come up.

0 comments voice your opinion now!
php5 tidy extension tutoiral parse error php5 tidy extension tutoiral parse error


blog comments powered by Disqus

Similar Posts

PHP Web Services Blog: Payload the Way You Want with PHP5 built-in SOAP

PHPClasses.org: File upload progress meter for PHP 4, at last!

Pierre-Alain Joye's Blog: ext/filter, API frozen (!) and fixes, 0.11.0 is out

DevShed: Working with Images and Text Flows in PDF Files with PHP 5

DevShed: Building an Image Generator Class with PHP 5


Community Events

Don't see your event here?
Let us know!


language laravel library interview extension unittest development api release threedevsandamaybe opinion framework voicesoftheelephpant series introduction podcast laravel5 wordpress feature community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework