Ok, ignore me. I'm an idiot.. I just found the striptags() fucntion.

- John Vanderbeck
- Admin, GameDesign

----- Original Message -----
From: "John Vanderbeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 17, 2001 12:33 PM
Subject: [PHP] Strip HTML codes from a string?


> I'm really crappy with regex's, and I can't find a good tutorial on using
> them , and all the syntaxes.  What I need to do is strip all HTML tags
from
> a string.
>
> This is from a form, where a user can submit comments on things, but I
need
> to strip the HTML out, in case anyone tries to abuse it :)
>
> - John Vanderbeck
> - Admin, GameDesign
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
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