note 31445 deleted from function.strip-tags by nlopess
| From: | nlopess@php.net | Date: | Thu, 11 Mar 2004 14:54:37 +0000 |
| Subject: | note 31445 deleted from function.strip-tags by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66648@lists.php.net to get a copy of this message | ||
Note Submitter: zombie(at)localm(dot)org
----
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