Re: strip ALL HTML tags in a page so only the text
| From: | Brian Clark | Date: | Wed, 05 Sep 2001 20:01:58 +0000 |
| Subject: | Re: strip ALL HTML tags in a page so only the text | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66098@lists.php.net to get a copy of this message | ||
Hi erik,
@ 3:58:31 PM on 9/5/01, erik wrote:
> I'm develloping a mail application, wich sends single part e-mail with PHP.
> for users who want the text version, I want to strip the HTML version and
> send what's left (plain text) to them.
> Can anybody tell me the best way to do this, I mean stripping all teh HTML
> tages with PHP.
strip_tags()
http://www.php.net/manual/
-Brian
--
PGP is spoken here: 0xE4D0C7C8
Please, DO NOT carbon copy me on list replies.