Re: Is this a typo or what?
| From: | Henrik Hansen | Date: | Mon, 21 May 2001 22:19:41 +0000 |
| Subject: | Re: Is this a typo or what? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53784@lists.php.net to get a copy of this message | ||
Floyd Baker <fbaker@olm1.com> wrote:
> Henrik
>
> You are looking in the wrong area.. I'm working with php3.
>
> > There's an extra '}' in the first example for a word wrap function,
> > under string functions in the manual..
>
> Here is what I see... and if you count the brackets, there are 15.. ?
>
ok well, I can see the script inserts \n, if you are wrapping in html
you dont see the text is actual wraping because you need to add <br>
instead, maybe do a nl2br() on the ourput from the functions and see
if the text wraps as wanted.
--
Henrik Hansen