[ciapug] Dynamically formatted HTML Source

James Loghry loghry at krellinst.org
Thu Sep 7 15:23:32 CDT 2006


I'm constantly dealing with dynamic web sites using PHP here at work. 
It's a pain to keep track of all the newlines and tabs and whatnot when
displaying HTML through php.  This is especially true when there are
several included files.

Is there a nice and easy trick to have PHP nicely format the HTML source
before the client browser sees it? Perhaps in XHTML format or such? 
(By format I mean the spacing and tabs of elements)

-- 
James Loghry
Software Engineer
The Krell Institute
1609 Golden Aspen Dr., Suite 101
Ames, IA 50010
http://www.krellinst.org
Phone: (515) 956 - 3696
Email: loghry at krellinst.org



More information about the ciapug mailing list