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. Quote 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 Quote 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> Quote 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? Quote 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']; Quote 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']? Quote 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; Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.