Reply to Re: PHP to echo a line in html source...

Your name:

Reply:


Posted by Oliver Gr�tz on 08/24/05 18:00

Domestos schrieb:
> <table><tr><td>blah blah</td></tr></table>
>
> Is there anyway I can get each html tag on a seperate line in the html
> source so it is nice and neat (easy readable)?

Well, you CAN try to make it nice by yourself, but there's also the
possibility of letting software do that job. With "tidy" one can
prettyprint HTML code and there are possibilities do automagically use
it when sending HTML to the browser. There are extension to PHP that
allow for this. You should read a bit about using the output buffers or
the tidy extension.

As an appetizer, just have a look at this comment:
http://de.php.net/manual/en/ref.tidy.php#48981

AllOLLi

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация