How to output formatted HTML from PHP?

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-03-26T23:34:11Z Indexed on 2010/03/26 23:53 UTC
Read the original article Hit count: 362

Filed under:
|
|

I like to format all my HTML with tabs for neatness and readability. Recently I started using PHP and now I have a lot of HTML output that comes from in between PHP tags. Those output lines all line up one the left side of the screen. I have to use /n to make a line go to the next. Is there anything like that for forcing tabs, or any way to have neat HTML output coming from PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about formatting