News Feed
Sections




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

DevShed:
Working with the Tidy Library in PHP 5
June 27, 2007 @ 08:42:00

In this new tutorial from DevShed, they demonstrate the use of a handy little bit of functionality to help keep your code (and markup) clean - Tidy.

Now that you know that the Tidy (X)HTML formatting/correcting application can be called directly from your own PHP 5 scripts, over the course of this series, which is comprised of three friendly tutorials, I'm going to walk you through using the bunch of useful functions included with this library.

This tutorial (part one) talks about the parsing of (X)HTML strings and using the tidy_clear_repair, tidy_parse_file and tidy_repair_file functions to handle the cleanup of (X)HTML strings and files automatically.

0 comments voice your opinion now!
php5 tutorial tidy library extension xhtml php5 tutorial tidy library extension xhtml


blog comments powered by Disqus

Similar Posts

Christian Weiske's Blog: Importing huge XML files using PHP5 - efficiently and conveniently

Jani Hartikainen's Blog: Refactoring explained to an absolute beginner

Jeff Moore's Blog: Working with PHP 5 in Mac OS X 10.5

SitePoint PHP Blog: Shared Hosts and PHP5 Upgrades

Greg Beaver\'s Blog: New PECL Docblock Extension


Community Events





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


introduction podcast mvc update laravel tool language release voicesoftheelephpant composer version symfony series package community library framework interview opinion security

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