You can also use tabs (\t).
This is an example using tabs and newlines:
echo "\n\n\tHello There\n\tHow are
you\n";
Note: You must use quotes because ticks don't work.
Jeff
""Mark"" <[EMAIL PROTECTED]> wrote in message
9597gb$4el$[EMAIL PROTECTED]">news:9597gb$4el$[EMAIL PROTECTED]...
> I'd
ing the whole thing that way.
Toby
- Original Message -
From: "Joe Sheble (Wizaerd)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 9:49 AM
Subject: Re: [PHP] neat html output
> oops, that function declaration should look lik
Addressed to: "Mark" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Mark" <[EMAIL PROTECTED]> Wed, 31 Jan 2001 08:29:57 -0600
>
> I'd like my html output to be neatly written, including newlines is
> helpful but does anyone know of a better way to output newlines than
oops, that function declaration should look like:
function println( $cTextToPrint ) {
print( $cTextToPrint . chr(13) );
}
At 07:40 AM 1/31/01 -0700, Joe Sheble (Wizaerd) wrote:
>Write yourself a function that handles it yourself and include it in every
>page... something such as:
>
>
Write yourself a function that handles it yourself and include it in every
page... something such as:
function println( $cTextToPrint ) {
print( $cTextToPrint . "" );
}
then in your pages just use println() everywhere...
At 08:29 AM 1/31/01 -0600, Mark wrote:
>I'd like my html output
5 matches
Mail list logo