use PHP wordwrap man Example <?php $text = "The quick brown fox jumped over the lazy dog."; $newtext = wordwrap($text, 20, "<br />\n"); echo $newtext; ?> -- Regards -!m@- anas.muhammed@xxxxxxxxx +919496371048 -ima- [Non-text portions of this message have been removed]