Stripping HTML
| From: | Chris Murley | Date: | Mon, 21 Aug 2000 19:15:08 +0000 |
| Subject: | Stripping HTML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12789@lists.php.net to get a copy of this message | ||
Hello, does anybody have a function that strips HTML from a string
ie
$message = "<b> hellow wolrd>
would come out as
$message = " hellow wolrd"
??
or that would make
$message = "<a href=idex.html>Click here</a>";
would be
$message = "Click here";
Thanks for any help!
Chris