Re: [PHP] nl2br problem

2011-02-02 Thread Ashley Sheridan
On Tue, 2011-02-01 at 14:24 -0600, Donovan Brooke wrote: > Daniel Brown wrote: > [snip] > > Absolutely. Look into employing TinyMCE or CKEditor (or the older > > FCKEditor) so you don't have to do so much server-side processing. > > This will only apply to pages moving forward, mind you, not

Re: [PHP] nl2br problem

2011-02-01 Thread David Robley
David Hutto wrote: > If project names are indications of programmer's Freudian insights, > then what is the FCKEditor? Perhaps that questions should be asked of the lead developer's parents, who had the temerity to name him Frederico Caldeira Knabben. Cheers -- David Robley "I need an injecti

Re: [PHP] nl2br problem

2011-02-01 Thread Donovan Brooke
Daniel Brown wrote: [snip] Absolutely. Look into employing TinyMCE or CKEditor (or the older FCKEditor) so you don't have to do so much server-side processing. This will only apply to pages moving forward, mind you, not for displaying existing table data. You'll need to make the determinat

Re: [PHP] nl2br problem

2011-02-01 Thread David Hutto
If project names are indications of programmer's Freudian insights, then what is the FCKEditor? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] nl2br problem

2011-02-01 Thread Daniel Brown
On Tue, Feb 1, 2011 at 14:42, Donovan Brooke wrote: > Hello, > > I have CMS form that allows HTML for the body of a site. > > To keep the form somewhat WYSIWYG, I am using the > nl2br() function for displaying: > > nl2br($t_body) > > This works great for normal stuff.. but for pages with tables >

Re: [PHP] nl2br problem

2004-05-28 Thread Chris Shiflett
> --- Gerben <[EMAIL PROTECTED]> wrote: > > does anyone know how to create a true nl2br function in stead of a > > nl2br-and-nl function. > > $foo = str_replace('\n', '', $foo); Make that "\n" to interpret the newline correctly. Sorry about that. Chris = Chris Shiflett - http://shiflett.org

Re: [PHP] nl2br problem

2004-05-28 Thread Chris Shiflett
--- Gerben <[EMAIL PROTECTED]> wrote: > does anyone know how to create a true nl2br function in stead of a > nl2br-and-nl function. $foo = str_replace('\n', '', $foo); Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sam