/ Published in: PHP
suppose you have some html-formatted text of which you would like to show the first 45 characters.
This function closes any tags that are not-closed because of cutting the first 45 characters.
Note that tags are also counted when defining the first 45 characters!
This function closes any tags that are not-closed because of cutting the first 45 characters.
Note that tags are also counted when defining the first 45 characters!