note 3189 modified in function.strip-tags by philip
| From: | philip@php.net | Date: | Fri, 21 Sep 2001 15:39:23 +0000 |
| Subject: | note 3189 modified in function.strip-tags by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18145@lists.php.net to get a copy of this message | ||
Examples :
<br>
$string = strip_tags($string,'<a><i><b>');
<br>
$string = strip_tags($string,'<a>,<i>,<b>');
<br>
Both forms of allowable_tags will strip out all HTML tags from $string except <a> <i>
and <b>. Use of , is discouraged.
[ed. rewrote, seeing how it looks :) -philip]
http://www.php.net/manual/en/function.strip-tags.php