How get to pretty HTML source code from PHP generated output?

rpacerfanct

New Member
When you look at the source code of PHP generated output usually everything is on one line, it makes it very hard for front end developers to read the code and trouble shoot.So is there a way to get PHP generated output to go from this:\[code\]<ul><li>Hello</li><li>Hola</li><li>Bonjour</li></ul>\[/code\]to\[code\]<ul> <li>Hello</li> <li>Hola</li> <li>Bonjour</li></ul>\[/code\]WITHOUT using \[code\]/n\[/code\] line breaks all over the server side code which just makes that messy.
 
Back
Top