so i have some text stored in a database that has html tags in it, for instance <br />. when i echo this string the <br /> appears, it generates the > and < for me. but i want it to render the tag and make an actual break. how do i do that?
@MindzaiMay 24.2010 — #Assuming the database really does contain the literal characters that make up the tags, and the tags are not being output inside some kind of <pre> or similar tag, then the HTML code should be seen and understood by the browser. It seems like something is converting the html tag characters into entities somewhere between your database and your browser, so the proper solution would be to track that down, but you can also convert back using html_entity_decode.