RE: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-31 Thread Scott Hurring
D]] > Sent: Friday, May 31, 2002 2:27 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element > > > try nl2br > http://www.php.net/manual/en/function.nl2br.php > > Nikolai Jeliazkov > > > >

Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Nikolai Jeliazkov
>>From: Michael Reynolds [mailto:[EMAIL PROTECTED]] >>Sent: 31 May 2002 04:36 >>To: [EMAIL PROTECTED] >>Subject: Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element >> >> >> >>--- Michael Reynolds <[EMAIL PROTECTED]> wrote: >>

RE: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Ross Fleming
Thanks for that, if only because I didn't know PHP included the "foreach" function, useful to know. :) Ross >-Original Message- >From: Michael Reynolds [mailto:[EMAIL PROTECTED]] >Sent: 31 May 2002 04:36 >To: [EMAIL PROTECTED] >Subject: Re: [PHP-WIN] Line

Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Michael Reynolds
--- Michael Reynolds <[EMAIL PROTECTED]> wrote: > > --- Matt Babineau <[EMAIL PROTECTED]> wrote: > > Is there any way to detect linefeeds and replace them with for > > output in html? > > > > $data=explode("\n",$data); > foreach ($data as $line) { > print($data."\n"); (oops) replace that wi

Re: [PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Michael Reynolds
--- Matt Babineau <[EMAIL PROTECTED]> wrote: > Is there any way to detect linefeeds and replace them with for > output in html? > $data=explode("\n",$data); foreach ($data as $line) { print($data."\n"); } $data=implode("\n",$data); __ Do You Y

[PHP-WIN] Line feeds and WRAP="soft" TEXTAREA element

2002-05-30 Thread Matt Babineau
Is there any way to detect linefeeds and replace them with for output in html? Matt Babineau Freelance Internet Developer - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com PO