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
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
, 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
:
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
4 matches
Mail list logo