Reply to Re: Automatic NewLine when using echo?

Your name:

Reply:


Posted by lightgod on 01/21/08 21:24

On jan. 21, 20:56, Martin <martinval...@comcast.net> 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.

I think...

1 <?php
2 function echon($text) {
3 echo $text."\n";
4 }
5
6 echon("lol");
7 echon("^_^");

This is very-very dusty, and stupid...
But would interest me.

[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

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