eevan79 Posted June 28, 2010 Share Posted June 28, 2010 How to show posts from database as plain text and not HTML. For example: Read post as written: "<strong>Bold text</strong>" and not Bold text. I parsed BBCodes and smilies, but dont know how to display post as written. I also tried some parse script but that scripts just strips tags, or delete all text between html tags. So I probably need code and decode BBCode. When I edit post, I see <br> tags between the lines. Can someone guide me how to implement it in simple forum script? Are there any parser for this? Link to comment https://forums.phpfreaks.com/topic/206073-entities-and-plain-text-in-posts/ Share on other sites More sharing options...
trq Posted June 28, 2010 Share Posted June 28, 2010 htmlentities. Link to comment https://forums.phpfreaks.com/topic/206073-entities-and-plain-text-in-posts/#findComment-1078263 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.