On Sat, Feb 23, 2002 at 04:42:16PM +0100, Gerald Richter wrote: > > > > If I take the data that is input on the form and on the next page output > it > > again, it shows up as spaces where I pressed Enter. > > > > The cr's are preseverd, but if you output a newline in html text, nothing > happens... > > So what you really want is to subsitute newlines with <BR> before outputing.
alternatively, just do: <pre>[+ $text +]</pre> or even (if your browser is new enough): <div style="white-space:pre">[+ $text +]</div> -- - Gus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]