[PHP] strip html

2004-03-02 Thread John Taylor-Johnston
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

[PHP] strip HTML

2001-10-20 Thread Gary
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

Re: [PHP] Strip HTML codes from a string?

2001-02-17 Thread John Vanderbeck
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

[PHP] Strip HTML codes from a string?

2001-02-17 Thread John Vanderbeck
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 :) -