Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Tijnema
On 8/10/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > On 8/10/07, Faither <[EMAIL PROTECTED]> wrote: > > Hey there! > > I'm kind of lost with how str_replace , preg_replace, ereg_replace or > > even explode are handling a "\n"-ewline. > > > > I have a text string from a form and am trying to replac

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Robert Cummings
On Fri, 2007-08-10 at 17:53 +0100, Richard Davey wrote: > Hi Faither, > > Friday, August 10, 2007, 5:16:09 PM, you wrote: > > > I'm kind of lost with how str_replace , preg_replace, ereg_replace or > > even explode are handling a "\n"-ewline. > > > I have a text string from a form and am trying

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Tijnema
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote: > Faither wrote: > > I'm kind of lost with how str_replace , preg_replace, ereg_replace or > > even explode are handling a "\n"-ewline. > > > > I have a text string from a form and am trying to replace the "\n" or > > chr(10) or however you might call the

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Faither
Stut wrote: Faither wrote: I'm kind of lost with how str_replace , preg_replace, ereg_replace or even explode are handling a "\n"-ewline. I have a text string from a form and am trying to replace the "\n" or chr(10) or however you might call the newline with a simple html break tag. If I u

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Richard Davey
Hi Faither, Friday, August 10, 2007, 5:16:09 PM, you wrote: > I'm kind of lost with how str_replace , preg_replace, ereg_replace or > even explode are handling a "\n"-ewline. > I have a text string from a form and am trying to replace the "\n" or > chr(10) or however you might call the newline

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Daniel Brown
On 8/10/07, Faither <[EMAIL PROTECTED]> wrote: > Hey there! > I'm kind of lost with how str_replace , preg_replace, ereg_replace or > even explode are handling a "\n"-ewline. > > I have a text string from a form and am trying to replace the "\n" or > chr(10) or however you might call the newline wi

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Robert Cummings
On Fri, 2007-08-10 at 18:14 +0200, Faither wrote: > Hey there! > I'm kind of lost with how str_replace , preg_replace, ereg_replace or > even explode are handling a "\n"-ewline. > > I have a text string from a form and am trying to replace the "\n" or > chr(10) or however you might call the newl

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Stut
Faither wrote: I'm kind of lost with how str_replace , preg_replace, ereg_replace or even explode are handling a "\n"-ewline. I have a text string from a form and am trying to replace the "\n" or chr(10) or however you might call the newline with a simple html break tag. If I use the replaci

[PHP] Getting a 'newline' out of a string

2007-08-10 Thread Faither
Hey there! I'm kind of lost with how str_replace , preg_replace, ereg_replace or even explode are handling a "\n"-ewline. I have a text string from a form and am trying to replace the "\n" or chr(10) or however you might call the newline with a simple html break tag. If I use the replacing f

[PHP] Getting a 'newline' out of a string

2007-08-10 Thread Faither
Hey there! I'm kind of lost with how str_replace , preg_replace, ereg_replace or even explode are handling a "\n"-ewline. I have a text string from a form and am trying to replace the "\n" or chr(10) or however you might call the newline with a simple html break tag. If I use the replacing f