note 20909 added to function.strip-tags
| From: | tobaco at libero dot it | Date: | Sun, 21 Apr 2002 10:39:01 +0000 |
| Subject: | note 20909 added to function.strip-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29633@lists.php.net to get a copy of this message | ||
For esample:
$HtmlText =
strip_tags($HtmlText,'<b><i><p><table><td><tr>');
If your $HtmlText is like this:
.....
<tr>
<td><font size="5">Hello!!</font></td>
</tr>
.....
the font tag can not be stripped
--
http://www.php.net/manual/en/function.strip-tags.php
http://master.php.net/manage/user-notes.php?action=edit+20909
http://master.php.net/manage/user-notes.php?action=delete+20909
http://master.php.net/manage/user-notes.php?action=reject+20909