I have this saved in DB table:
<a href=abc.php/>link</a>
Now if I retrieve it from DB, it will display the html code:
<a href=abc.php>link</a>
instead of the hyperlink, how can I fix this issue? thanks.
convert html text code
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
you've stored the entity forms.. you need to decode them back to their "normal" form.. html_entity_decode()
-
seahorse123
- Forum Newbie
- Posts: 8
- Joined: Tue Sep 20, 2005 9:06 pm
Thank you very much, feyd, it works.feyd wrote:you've stored the entity forms.. you need to decode them back to their "normal" form.. html_entity_decode()