FFFF Posted November 11, 2006 Share Posted November 11, 2006 In mysql database I have a field in which I have the next string :Hello:<br /><img class="okvir" src="http://img292.imageshack.us/img292/3709/stanarich5.jpg" border="0" align="middle" hspace="0" vspace="3" /><br />when I printed this to the screen with "echo" I got this :Hello:<br /> <img class="okvir" src="http://img292.imageshack.us/img292/3709/stanarich5.jpg" border="0" align="middle" hspace="0" vspace="3" /><br />question:How to show this but to "execute" all the html tags (and see the image in the source <img>) ?? Link to comment https://forums.phpfreaks.com/topic/26916-html-tags-to-execute/ Share on other sites More sharing options...
joshi_v Posted November 11, 2006 Share Posted November 11, 2006 Use html_entity_decode function with echo statement.RegardsJoshi. Link to comment https://forums.phpfreaks.com/topic/26916-html-tags-to-execute/#findComment-123100 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.