MySQL Forums
Forum List  »  PHP

Re: Removing HTML tags using mysql
Posted by: Hartmut Holzgraefe
Date: October 15, 2007 11:08AM

amit sankhala Wrote:
> hello,
> I want to build such a query which will ignore all
> the html tags of the fields.
> is there any functions available with mysql to
> remove the html tags.
> like strip_tags() of php which removes the html
> tags from string.

no, no such function ... but why do you need to solve
that on the database side already? Why not on the
PHP application level?


Hartmut Holzgraefe, MySQL Regional Support Manager EMEA

Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

Options: ReplyQuote

Written By
Re: Removing HTML tags using mysql
October 15, 2007 11:08AM
January 20, 2009 07:38AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.