I have various HTML strings to cut to 100 characters (of the stripped content, not the original) without stripping tags and without breaking HTML.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label substr. Show all posts
Showing posts with label substr. Show all posts
Friday, May 4, 2012
Using PHP substr() and strip_tags() while retaining formatting and without breaking HTML
Subscribe to:
Posts (Atom)