Jump to content

strip html code


menwn

Recommended Posts

Hi all,

 

I have a mysql database and I am building a search engine on it. The problem is that in the database there is stored html code like <b>, <align> so it messes up my result page. Is there enything I good do. Some php fuction? I have tried htmlspecialchars() and htmlentities() and there decode modes but nothing seems to happen.

 

Thanks in advance

menwn

Link to comment
https://forums.phpfreaks.com/topic/47214-strip-html-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.