Re: [PHP] neat html output

2001-02-01 Thread Jeff Lacy
You can also use tabs (\t). This is an example using tabs and newlines: echo "table\ntr\n\ttdHello There/td\n\ttdHow are you/td\n/tr/table"; Note: You must use quotes because ticks don't work. Jeff ""Mark"" [EMAIL PROTECTED] wrote in message 9597gb$4el$[EMAIL

[PHP] neat html output

2001-01-31 Thread Mark
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 appending ."\n"; to every echo statement. -Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] neat html output

2001-01-31 Thread Joe Sheble (Wizaerd)
Write yourself a function that handles it yourself and include it in every page... something such as: function println( $cTextToPrint ) { print( $cTextToPrint . "BR" ); } then in your pages just use println() everywhere... At 08:29 AM 1/31/01 -0600, Mark wrote: I'd like my html

Re: [PHP] neat html output

2001-01-31 Thread Joe Sheble (Wizaerd)
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:

Re: [PHP] neat html output

2001-01-31 Thread php3
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

Re: [PHP] neat html output

2001-01-31 Thread Toby Miller
AM Subject: Re: [PHP] neat html output 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 i