[PHP] Re: Extra spacing with in HTML

2002-07-29 Thread Kevin Breit
On Mon, 2002-07-29 at 05:29, Richard Lynch wrote: > >That creates a lot of white space when that HTML is rendered. How do I > >tell PHP not to put line breaks in a situation like that? > > You can't really have the user putting in HTML and then you adding in > nl2br() as well... > > If you're g

[PHP] Re: Extra spacing with in HTML

2002-07-29 Thread Richard Lynch
> I am using a textarea to pass information to PHP. I want to be able to >include HTML tags inside the text area. I am using ln2br() to properly >convert line breaks to HTML. This is where my issue comes up. > >Lets say I have > > > Blar > > >ln2br() will crunch that and put out: > > Blar > >