Show limited words in PHP from string with HTML tags
Hi, Here i have create another function called “truncate”. With this function you can show limited words with HTML tags. I know there is a function in PHP “SUBSTR”. but the main issue i face with this is this will also remove HTML tags, which mean when any tag starts then that tags will not […]