If you want formated output using linebreak <br> and length in php

use this


<?php $str= substr($row['notes'],0,30).”readmore”;

echo wordwrap($str,5,”<br />n”,TRUE);?>
 

Share on Facebook