[PHP] Re: strip html

2004-03-02 Thread John Taylor-Johnston
Scrap that. Sorry. My fault. Understood. :) J John Taylor-Johnston wrote: > 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:/

RE: [PHP] Re: strip HTML

2001-10-20 Thread Jack Dempsey
: [EMAIL PROTECTED] Subject: [PHP] Re: strip HTML Thanks James: I had figured that part out (should of said so). What is happening is a form is passing the stuff to another page that does the DB UPDATE. The form action is . Where I am lost is where to put the strip_tags() like action=strip_tages

[PHP] Re: strip HTML

2001-10-20 Thread Gary
Thanks James: I had figured that part out (should of said so). What is happening is a form is passing the stuff to another page that does the DB UPDATE. The form action is . Where I am lost is where to put the strip_tags() like action=strip_tages("update.php"); Gary Yz James wrote: > T

[PHP] Re: strip HTML

2001-10-20 Thread James, Yz
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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello All, > How would I strip all HTML before the info in inserted