The easiest way would be to use strip_tags(), though you could craft your
own regular expression.


"Gary" <[EMAIL PROTECTED]> wrote in message
> 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.
> Gary

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to