Friday 16 August 2013

substr in php is not removing characters?


I had a similar problem before and rectified using mb_substr, for demo please check the below code

$then_truncate_the_value=mb_substr($remove_html_first , 0, 123);

No comments:

Post a Comment