Afficher un message
Vieux 21/01/2008, 22h24   #3
lightgod
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Automatic NewLine when using echo?

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.
  Réponse avec citation
 
Page generated in 0,04990 seconds with 9 queries