Re: Is this a typo or what?

From: Date: Tue, 22 May 2001 00:22:25 +0000
Subject: Re: Is this a typo or what?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-53798@lists.php.net to get a copy of this message
On 22 May 2001 00:19:41 +0200, you wrote: >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 Well there are no br's in the field to convert. The ascii between the ;'s is exactly this... One long line. ;I\'ll add details later. Now is the time for all good men to come to the aid of their country... The quick brown fox jumped over the lazy dogs back 12345 times... Of all the fishes in the sea, the mermaid is still the only one for me....; So this routine with the bracket should work to insert the slashes but I've removed the extra (correct?) bracket and it does not work.. ? I removed one of the two above the bottom 'return rettext'. Floyd --

« previous php.general (#53798) next »