Re: strip HTML
| From: | James, Yz | Date: | Sat, 20 Oct 2001 18:29:54 +0000 |
| Subject: | Re: strip HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71695@lists.php.net to get a copy of this message | ||
The easiest way would be to use strip_tags(), though you could craft your
own regular expression.
http://www.php.net/strip_tags
James
"Gary" <gbland@worldnet.att.net> wrote in message
news:3BD1C2D9.4000100@worldnet.att.net...
> Hello All,
> How would I strip all HTML before the info in inserted to MySQL? The
> info is sent with a form. We Have one person that insist on using HTML.
>
> TIA
> Gary
>