Hi,
Wondering if any1 could help me out here,
I tried a lot of times to use wordwrap, but for some reason it failed over and over again, so I searched the manual, and used the examples from the wordwrap function-list,and guess what they didn't work either, just a straight line as a result...
Could any1 explain,what is the problem, thanks in advance!
I tried these examples:
<?php
$text = "A very long woooooooooooord.";
$newtext = wordwrap( $text, 8, "\n", 1);
echo "$newtext\n";
exit;
$text = "The quick brown fox jumped over the lazy dog.";
$newtext = wordwrap( $text, 20 );
echo "$newtext\n";
exit;
?>