Re: [PHP] Retaining formatting problem[Scanned]

2003-07-08 Thread Mike Migurski
> cannot have multiple lines, use this > >little amount of > >text This is true. Also, watch the line endings coming aout of that textarea - you may want to normalize them. I prefer unix linebreaks, so I use this to convert mac and DOS endings: str_replace(array("\r\n", "\r"), "\n", $tex

RE: [PHP] Retaining formatting problem[Scanned]

2003-07-08 Thread Mark
--- Michael Egan <[EMAIL PROTECTED]> wrote: > I've experienced the same problem. It's not that the line returns > disappear - they will still be retained but stored as /n or /r. > > You'll need to find a way of replacing the line breaks with a html > paragraph break - assuming your required out

Re: [PHP] Retaining formatting problem[Scanned]

2003-07-08 Thread Marek Kilimajer
cannot have multiple lines, use this little amount of text Michael Egan wrote: I've experienced the same problem. It's not that the line returns disappear - they will still be retained but stored as /n or /r. You'll need to find a way of replacing the line breaks with a html paragraph break

RE: [PHP] Retaining formatting problem[Scanned]

2003-07-08 Thread Michael Egan
I've experienced the same problem. It's not that the line returns disappear - they will still be retained but stored as /n or /r. You'll need to find a way of replacing the line breaks with a html paragraph break - assuming your required output is html. Perhaps some of the regexp functions wil