[ciapug] Dynamically formatted HTML Source
Carl Olsen
carl-olsen at mchsi.com
Thu Sep 7 16:31:08 CDT 2006
\r is a return
\n is a new line
\t is a tab
-----Original Message-----
From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On Behalf
Of James Loghry
Sent: Thursday, September 07, 2006 3:24 PM
To: ciapug at cialug.org
Subject: [ciapug] Dynamically formatted HTML Source
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
_______________________________________________
ciapug mailing list
ciapug at cialug.org
http://cialug.org/mailman/listinfo/ciapug
More information about the ciapug
mailing list