Page 1 of 1

htmlentities

Posted: Wed Mar 14, 2007 9:22 am
by hmsg
Hi.

I'm having a problem with a field of my DB.

I have a field in my db that have text with html code.

Example: "Mário it's <strong>fired</strong>. See <a href="#">Link</a>"

I can't put this im my file correctly, because my tags is being printed to the html code and sometime even the special chars too (like: á). I've already try it with and without the htmlentities, but until now i couldn't find a way to solve this.

Anyone could Help me?

Posted: Wed Mar 14, 2007 9:33 am
by feyd
What do you want it to do?

Posted: Wed Mar 14, 2007 9:54 am
by hmsg
I want that my text it will be sow Mário is fired (the word fired showed in bold). And the word link with the link i want

Posted: Wed Mar 14, 2007 10:00 am
by feyd
Okay, so you want it to show
Mário is fired. See Link
What is it showing then?