Is there a function to strip html from a string?
This function seems to stip out everything between the tags too, no?
http://www.php.net/manual/en/function.strip-tags.php
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
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] Str
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 :)
-
4 matches
Mail list logo