aj123cd Posted July 26, 2012 Share Posted July 26, 2012 I have a PHP page setup with FCKeditor which stores html formatted information in a MySQL database. I just want to retrieve html formatted text which is stored in a MySQL database & display it on a page. But the page is displaying the html coding rather than the formatted output. Thank you for all your help. Link to comment https://forums.phpfreaks.com/topic/266265-returning-fckeditor-data-without-html-code/ Share on other sites More sharing options...
mapleleaf Posted July 26, 2012 Share Posted July 26, 2012 Post some code Link to comment https://forums.phpfreaks.com/topic/266265-returning-fckeditor-data-without-html-code/#findComment-1364495 Share on other sites More sharing options...
aj123cd Posted July 26, 2012 Author Share Posted July 26, 2012 In the DB field store like this. <p> hi</p> <ol> <li> 1</li> <li> 1</li> <li> 3</li> <li> hvhv</li> </ol> <p> <span style="color: #ff8c00">vkhvkhvkhvkhv</span></p> Link to comment https://forums.phpfreaks.com/topic/266265-returning-fckeditor-data-without-html-code/#findComment-1364497 Share on other sites More sharing options...
mapleleaf Posted July 26, 2012 Share Posted July 26, 2012 And how are you displaying it on the page with php? Link to comment https://forums.phpfreaks.com/topic/266265-returning-fckeditor-data-without-html-code/#findComment-1364498 Share on other sites More sharing options...
aj123cd Posted July 26, 2012 Author Share Posted July 26, 2012 echo $tread['info']; Link to comment https://forums.phpfreaks.com/topic/266265-returning-fckeditor-data-without-html-code/#findComment-1364499 Share on other sites More sharing options...
mapleleaf Posted July 26, 2012 Share Posted July 26, 2012 And how do you get it from the db into $tread['info']? Link to comment https://forums.phpfreaks.com/topic/266265-returning-fckeditor-data-without-html-code/#findComment-1364502 Share on other sites More sharing options...
aj123cd Posted July 26, 2012 Author Share Posted July 26, 2012 SELECT * FROM thread; Link to comment https://forums.phpfreaks.com/topic/266265-returning-fckeditor-data-without-html-code/#findComment-1364504 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.