HOME BLOG PORTFOLIO PHOTO CONTACT Admin Login
php formated output using linebreak and length

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

Page views:571