note 31445 added to function.strip-tags
| From: | zombie at rack1 dot php dot net | Date: | Tue, 22 Apr 2003 14:25:03 +0000 |
| Subject: | note 31445 added to function.strip-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46928@lists.php.net to get a copy of this message | ||
If you need to process an HTML document into keywords, you can do soemthing like :
$insertDoc = ereg_replace('<([^>]|\n)*>', ' ', $insertDoc);
This will prevent words from being concatanated together as they are with strip slashes.
"something<BR>somethingelse". for example. If you process the doc right, then all of
your "words" are separated by spaces and can be exploded now. Yup
Blaine Garrett
http://artattack.to?zombie
--
http://www.php.net/manual/en/function.strip-tags.php
http://master.php.net/manage/user-notes.php?action=edit+31445
http://master.php.net/manage/user-notes.php?action=delete+31445
http://master.php.net/manage/user-notes.php?action=reject+31445