This website uses cookies. Learn more
Got it!

Lukasz Wrobel

  • About Me
  • Terms of Use

Tidying up HTML Code with Tidy PHP Extension

November 14, 2008 · 4 minute read · Tags: HTML , PHP

Tidy is a quite powerful program which main purpose is to fix errors in HTML documents. TidyLib is a library version of Tidy written in C and by reason of easy C linkage, it can be used from within nearly any programming language, including PHP. The common way to invoke Tidy functions from PHP is to use the Tidy extension, which can be easily enabled. Tidy extension has dual (both procedural and object-oriented) nature and from now on we’ll focus on the latter.
Continue reading

© 2023 - Licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.