Posted by Adi Zebic on 09/28/05 00:47
Hi,
if "chunk_split" function split the line of text (here on 50 char)
I was wondering if there exists one function who take care if
the 50 char is in the middle of the word and split the line
first "empty space" before the word or just after?
$newstring = chunk_split($row[1], 50, '<br />');
echo $newstring;
Navigation:
[Reply to this message]
|