note 33379 added to function.strip-tags
| From: | tehnomage at inbox dot ru | Date: | Tue, 24 Jun 2003 14:44:07 +0000 |
| Subject: | note 33379 added to function.strip-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50936@lists.php.net to get a copy of this message | ||
Hi!
Why we are searching for so complicated broken tags routines? I think the simplest (of course, not
the fast) is:
$a = $need_to_remove;
while ( $a != strip_tags ($a) ) {
$a = strip_tags ( $a);
};
----
Manual Page -- http://www.php.net/manual/en/function.strip-tags.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33379
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33379&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33379&report=yes