MySQL Forums
Forum List  »  PHP

Re: Removing HTML tags using mysql
Posted by: amit sankhala
Date: October 15, 2007 11:22PM

Hi Peter Brawley,
Actually, data already stored within mysql database with <html> tags.
as what we did whilei inserting it with rich editor.

we need to show data as it is inserted with keeping all <html> tags.

but if we do, strip_tags() , it will remove all the <html> tags and hence by this, no tags will be displayed.

I want to display as html also and need to remove <html> tags while searching into database.

that is why i cannot use strip_tags().

Thanks & Regards,
Amit Sankhala

Options: ReplyQuote

Written By
Re: Removing HTML tags using mysql
October 15, 2007 11:22PM
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.