You are here: Re: Automatic NewLine when using echo? « PHP Programming Language « IT news, forums, messages
Re: Automatic NewLine when using echo?

Posted by Jerry Stuckle on 01/21/08 20:20

Martin wrote:
> Is there a setting somewhere that can be set to force an echo
> statement to automatically issue a new line when outputting html
> statements?
>
> In order to make it easier to read and debug, I'm adding "\n" to the
> end of such statements so that I can "view source" in a browser.
> Obviously, when the development of the page is done, I don't really
> care about such a view but during development it would make things
> easier to de-bug.
>
>
>
>

No, Just add a "\n" at the end of the echo().

Plus I don't always want a newline at the end of an echo!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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