[PHP] Re: Extra spacing with in HTML

2002-07-29 Thread Kevin Breit
now what rules to follow. I was just hoping for some extra convenience. Thanks! -- Kevin Breit <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Extra spacing with in HTML

2002-07-28 Thread Kevin Breit
On Sun, 2002-07-28 at 10:14, Justin French wrote: > on 29/07/02 12:02 AM, Kevin Breit ([EMAIL PROTECTED]) wrote: > > >> Aaaannny way, you can't modify WHAT php does in nl2br, but you can do > >> something to the resulting code, like replacing "" wi

Re: [PHP] Extra spacing with in HTML

2002-07-28 Thread Kevin Breit
, like replacing "" with "": > > $original = "Blar"; > $new = nl2br($original); > $new = str_replace('', '', $new); > ?> Hmmm..you've got it backwards, but I see what you mean. I'll tool around with it tonight. Thanks for the sug

[PHP] Extra spacing with in HTML

2002-07-27 Thread Kevin Breit
: Blar 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? Thanks! -- Kevin Breit <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php