Greetings all, it's been a while since I've stopped in...
I have a database field (text) that users can populate via an admin form. they can enter html tags in the text for markup when the text is displayed on a web page. I've discovered a problem. I go to the page where the text is displayed and I'm seeing the html markup tags in the text. I can see the actual tags in the text, i.e: <i>foo</i>. They are not being hidden by the browser and the text inside the tags is not italicized.
I'm using:
print "<p>".htmlspecialchars($rowData['BIO'])."</p>";
when I print the db value out without using the htmlspecialchars(), everything looks as I would expect. No tags showing and the appropriate text is italics.
Anyone care to venture a guess as what is causing this?
Thanks for the help.
jdc44