Re: [PHP] Re: nl2br problem

2011-02-02 Thread Donovan Brooke
Al wrote: [snip] You have an example of a page you'd like to control that we can see? On the surface, it appears you may be able to control the rendering with advanced CSS2/3 selectors. Thus, the browsers will do the work for you. Al.. Hello, yes and no.. ;-) Right now browsers rece

[PHP] Re: nl2br problem

2011-02-02 Thread Al
On 2/1/2011 2:42 PM, 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 etc.. it creates a lot o

Re: [PHP] Code formatter

2011-02-02 Thread Ken Guest
replies inline... On Wed, Feb 2, 2011 at 3:23 PM, Hansen, Mike wrote: > > > > -Original Message- > > From: ken.gu...@gmail.com [mailto:ken.gu...@gmail.com] On > > Behalf Of Ken Guest > > Sent: Monday, January 31, 2011 3:26 PM > > To: Hansen, Mike > > Cc: php-general@lists.php.net > > Sub

RE: [PHP] Code formatter

2011-02-02 Thread Hansen, Mike
> -Original Message- > From: ken.gu...@gmail.com [mailto:ken.gu...@gmail.com] On > Behalf Of Ken Guest > Sent: Monday, January 31, 2011 3:26 PM > To: Hansen, Mike > Cc: php-general@lists.php.net > Subject: Re: [PHP] Code formatter > > > > On Mon, Jan 31, 2011 at 8:27 PM, Hansen, Mike

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