Re: Re: Breaking a line in two
| From: | Micah Gersten | Date: | Wed, 20 Aug 2008 15:49:49 +0000 |
| Subject: | Re: Re: Breaking a line in two | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278406@lists.php.net to get a copy of this message | ||
If you use wordwrap, you don't need nl2br. See Example 1 for wordwrap.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Lupus Michaelis wrote:
> Ron Piggott a écrit :
>
>> This is 23 characters long. I want <br> added after the 12th character,
>> following the first space:
>
> I guess you want to use wordwrap
> <http://www.php.net/wordwrap> and
> nl2br <http://www.php.net/nl2br>.
>