note 40709 added to function.substr
| From: | alex at "item-media�ro" dot php dot net | Date: | Thu, 11 Mar 2004 21:30:59 +0000 |
| Subject: | note 40709 added to function.substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66686@lists.php.net to get a copy of this message | ||
When you want to return the first x chars/words from a string, make sure you first strip all HTML
tags as there is a chance that you may leave some tags unclosed thus formatting unintentionally the
rest of your document.
----
Manual Page -- http://www.php.net/manual/en/function.substr.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40709
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40709&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40709&report=yes
Search -- http://master.php.net/manage/user-notes.php