[EMAIL PROTECTED] (Rehuel Lobato De Mesquita) wrote:
> Hey Ty,
>
> I had the same problem. I read somewhere that you can use "\r\n" instead. \r
it's windows that uses \r\n so if you run your scripts on a windows
machine it might be a good idea to split on them too.
--
Henrik Hansen
--
PH
Hey Ty,
I had the same problem. I read somewhere that you can use "\r\n" instead. \r
returns home and \n adds a new line!
It works fine here!
Rehuël
"Tyler Longren" <[EMAIL PROTECTED]> wrote in message
00aa01c10ed3$a3253ee0$[EMAIL PROTECTED]">news:00aa01c10ed3$a3253ee0$[EMAIL PROTECTED]...
> Ma
[EMAIL PROTECTED] (Tyler Longren) wrote:
> Maybe I'm not using it right, but I'm using the sample in the manual.
> Here's the code:
> $text = "A very long wrd.";
> $newtext = wordwrap( $text, 8, "\n", 1);
> echo "$newtext\n";
> ?>
you should use
$newtext = wordwrap( $text, 8,
3 matches
Mail list logo